wpt / svg / painting / parsing / stroke-miterlimit-computed.svg

Status: PASS | Duration: 55ms | Subtests: 4/4 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
Property stroke-miterlimit value '0'PASS
Property stroke-miterlimit value '0.5'PASS
Property stroke-miterlimit value '1'PASS
Property stroke-miterlimit value '7.5'PASS

/svg/painting/parsing/stroke-miterlimit-computed.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: getComputedStyle().strokeMiterlimit</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/painting.html#StrokeMiterlimitProperty"/>
    <h:meta name="assert" content="stroke-miterlimit computed value is as specified."/>
  </metadata>
  <g id="target"></g>
  <h:script src="/resources/testharness.js"/>
  <h:script src="/resources/testharnessreport.js"/>
  <h:script src="/css/support/computed-testcommon.js"/>
  <script><![CDATA[

test_computed_value("stroke-miterlimit", "0");
test_computed_value("stroke-miterlimit", "0.5");
test_computed_value("stroke-miterlimit", "1");
test_computed_value("stroke-miterlimit", "7.5");

  ]]></script>
</svg>