Status: PASS | Duration: 54ms | Subtests: 3/3 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| e.style['stroke-linecap'] = "butt" should set the property value | PASS | |
| e.style['stroke-linecap'] = "round" should set the property value | PASS | |
| e.style['stroke-linecap'] = "square" should set the property value | PASS |
/svg/painting/parsing/stroke-linecap-valid.svg
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml" width="800px" height="800px"> <title>SVG Painting: parsing stroke-linecap with valid values</title> <metadata> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/painting.html#StrokeLinecapProperty"/> <h:meta name="assert" content="stroke-linecap supports the full 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_valid_value("stroke-linecap", "butt"); test_valid_value("stroke-linecap", "round"); test_valid_value("stroke-linecap", "square"); ]]></script> </svg>