wpt / svg / painting / parsing / paint-order-computed.svg

Status: FAIL | Duration: 61ms | Subtests: 0/16 | 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 paint-order value 'normal'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'fill'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'stroke'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'markers'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'fill stroke'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'fill markers'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'stroke fill'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'stroke markers'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'markers fill'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'markers stroke'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'fill stroke markers'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'fill markers stroke'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'stroke fill markers'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'stroke markers fill'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'markers fill stroke'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order value 'markers stroke fill'FAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false

/svg/painting/parsing/paint-order-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().paintOrder</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/painting.html#PaintOrderProperty"/>
    <h:meta name="assert" content="paint-order 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("paint-order", "normal");

test_computed_value("paint-order", "fill");
test_computed_value("paint-order", "stroke");
test_computed_value("paint-order", "markers");

test_computed_value("paint-order", "fill stroke", "fill");
test_computed_value("paint-order", "fill markers");
test_computed_value("paint-order", "stroke fill", "stroke");
test_computed_value("paint-order", "stroke markers");
test_computed_value("paint-order", "markers fill", "markers");
test_computed_value("paint-order", "markers stroke");

test_computed_value("paint-order", "fill stroke markers", "fill");
test_computed_value("paint-order", "fill markers stroke", "fill markers");
test_computed_value("paint-order", "stroke fill markers", "stroke");
test_computed_value("paint-order", "stroke markers fill", "stroke markers");
test_computed_value("paint-order", "markers fill stroke", "markers");
test_computed_value("paint-order", "markers stroke fill", "markers stroke");

  ]]></script>
</svg>