Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/painting/parsing/stroke-linecap-invalid.svg - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="UTF-8"?>
width="800px" height="800px">
<title>SVG Painting: parsing stroke-linecap with invalid values</title>
<metadata>
<h:meta name="assert" content="stroke-linecap supports only the grammar 'butt | round | square'"/>
</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("stroke-linecap", "auto");
test_invalid_value("stroke-linecap", "butt round");
]]></script>
</svg>