https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 4dbce0155ee16d1aa6420313a5aa9fd82c66ecc0 authored by Michael[tm] Smith on 16 March 2018, 06:13:42 UTC
cc Drop javascript-protocol URL tests
Tip revision: 4dbce01
a.rel-getter-01.html
<!DOCTYPE html>
<title>HTMLAnchorElement.rel getter</title>
<link rel="author" title="TheKK" href="mailto:thumbd03803@gmail.com">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-a-rel">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<div>
<a id="test" href="a" rel="noreferrer"></a>
</div>
<script>
test(function() {
  var a = document.getElementById("test");

  test(function() {
    assert_equals(a.rel, "noreferrer");
  }, "Test anchor's rel getter");
});
</script>
back to top