diff options
Diffstat (limited to 'testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html')
-rw-r--r-- | testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html new file mode 100644 index 000000000..fb0780dee --- /dev/null +++ b/testing/web-platform/tests/html/semantics/text-level-semantics/the-a-element/a-stringifier.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<title>HTMLAnchorElement stringifier</title> +<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"> +<link rel="help" href="https://heycam.github.io/webidl/#es-stringifier"> +<script src=/resources/testharness.js></script> +<script src=/resources/testharnessreport.js></script> +<script src=/common/stringifiers.js></script> +<div id=log></div> +<script> +test(function() { + test_stringifier_attribute(document.createElement("a"), "href", false); + var a = document.createElement("a"); + a.setAttribute("href", "foo"); + test_stringifier_attribute(a, "href", false); +}); +</script> |