chromium/third_party/blink/web_tests/external/wpt/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://svgwg.org/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>