Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/linking/scripted/a.rel-setter-01.svg
<?xml version="1.0" encoding="UTF-8"?>
<title>SVGAElement.rel setter</title>
<metadata>
</metadata>
<a id="test" href="a"></a>
<h:script src="/resources/testharness.js"/>
<h:script src="/resources/testharnessreport.js"/>
<script><![CDATA[
test(function() {
var a = document.getElementById("test");
test(function() {
a.rel = "noreferrer"
assert_equals(a.rel, "noreferrer");
}, "Test anchor's rel setter");
});
]]></script>
</svg>