Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 2 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /svg/types/scripted/SVGGraphicsElement.svg - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="UTF-8"?>
<title>SVGGraphicsElement</title>
<metadata>
</metadata>
<h:script src="/resources/testharness.js"/>
<h:script src="/resources/testharnessreport.js"/>
<script><![CDATA[
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>