Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/geometry/parsing/x-invalid.svg - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="UTF-8"?>
width="800px" height="8000px">
<title>SVG Geometry Properties: parsing x with invalid values</title>
<metadata>
<h:meta name="assert" content="x supports only the grammar '<length-percentage>'."/>
</metadata>
<g id="target"></g>
<h:script src="/resources/testharness.js"/>
<h:script src="/resources/testharnessreport.js"/>
<h:script src="/css/support/parsing-testcommon.js"/>
<script><![CDATA[
test_invalid_value("x", "10");
test_invalid_value("x", "auto");
test_invalid_value("x", "10px 20px");
]]></script>
</svg>