wpt / svg / linking / scripted / a.hyperlink-getter-01.svg

Status: FAIL | Duration: 58ms | Subtests: 0/3 | Open test on wpt.live | wpt.fyi

Data from commit:
96ff533 Remove hidden nodes from the acccessibility tree (#823) (2026-09-07)

SubtestStatusMessage
Test anchor's protocol getterFAILassert_equals: expected (string) "http:" but got (undefined) undefined
Test anchor's hostname getterFAILassert_equals: expected (string) "www.example.com" but got (undefined) undefined
Test anchor's port getterFAILassert_equals: expected (string) "8080" but got (undefined) undefined

/svg/linking/scripted/a.hyperlink-getter-01.svg

<?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 HyperlinkElementUtils getters</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/linking.html#InterfaceSVGAElement"/>
  </metadata>
  <a id="test" href="http://www.example.com:8080/default.htm"></a>
  <h:script src="/resources/testharness.js"/>
  <h:script src="/resources/testharnessreport.js"/>
  <script><![CDATA[
    const a = document.getElementById("test");

    test(function() {
      assert_equals(a.protocol, "http:");
    }, "Test anchor's protocol getter");

    test(function() {
      assert_equals(a.hostname, "www.example.com");
    }, "Test anchor's hostname getter");

    test(function() {
      assert_equals(a.port, "8080");
    }, "Test anchor's port getter");
  ]]></script>
</svg>