blob: 55470a81b56973667cf5aae33ef4b4a78e686bab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:h="http://www.w3.org/1999/xhtml">
<title>SVGAElement.rel setter</title>
<metadata>
<h:link rel="help" href="https://svgwg.org/svg2-draft/linking.html#InterfaceSVGAElement"/>
</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>
|