wpt / svg / types / scripted / SVGGraphicsElement.svg

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

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
getBBox() returns instance of SVGRectFAILnot a callable function
getCTM() returns instance of SVGMatrixFAILnot a callable function
getScreenCTM() returns instance of SVGMatrixFAILnot a callable function

/svg/types/scripted/SVGGraphicsElement.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>SVGGraphicsElement</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/types.html#InterfaceSVGGraphicsElement"/>
  </metadata>
  <h:script src="/resources/testharness.js"/>
  <h:script src="/resources/testharnessreport.js"/>
  <script><![CDATA[
    var el = document.createElementNS("http://www.w3.org/2000/svg", "rect");

    test(function() {
        assert_true(el.getBBox() instanceof SVGRect);
    }, 'getBBox() returns instance of SVGRect');

    test(function() {
        assert_true(el.getCTM() instanceof SVGMatrix);
    }, 'getCTM() returns instance of SVGMatrix');

    test(function() {
        assert_true(el.getScreenCTM() instanceof SVGMatrix);
    }, 'getScreenCTM() returns instance of SVGMatrix');
  ]]></script>
</svg>