Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/semantics/text-level-semantics/the-a-element/a-stringifier.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>HTMLAnchorElement stringifier</title>
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
<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>