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/cx-invalid.svg - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="UTF-8"?>
width="800px" height="8000px">
<title>SVG Geometry Properties: parsing cx with invalid values</title>
<metadata>
<h:meta name="assert" content="cx 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("cx", "10");
test_invalid_value("cx", "auto");
test_invalid_value("cx", "10px 20px");
]]></script>
</svg>