wpt / svg / painting / inheritance.svg

Status: FAIL | Duration: 95ms | Subtests: 25/38 | 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 fill has initial value rgb(0, 0, 0)PASS
Property fill inheritsPASS
Property fill-rule has initial value nonzeroPASS
Property fill-rule inheritsPASS
Property fill-opacity has initial value 1PASS
Property fill-opacity inheritsPASS
Property stroke has initial value nonePASS
Property stroke inheritsPASS
Property stroke-opacity has initial value 1PASS
Property stroke-opacity inheritsPASS
Property stroke-width has initial value 1pxPASS
Property stroke-width inheritsPASS
Property stroke-linecap has initial value buttPASS
Property stroke-linecap inheritsPASS
Property stroke-linejoin has initial value miterPASS
Property stroke-linejoin inheritsPASS
Property stroke-miterlimit has initial value 4PASS
Property stroke-miterlimit inheritsPASS
Property stroke-dasharray has initial value nonePASS
Property stroke-dasharray inheritsPASS
Property stroke-dashoffset has initial value 0pxPASS
Property stroke-dashoffset inheritsPASS
Property marker-start has initial value noneFAILassert_true: marker-start doesn't seem to be supported in the computed style expected true got false
Property marker-start inheritsFAILassert_true: marker-start doesn't seem to be supported in the computed style expected true got false
Property marker-mid has initial value noneFAILassert_true: marker-mid doesn't seem to be supported in the computed style expected true got false
Property marker-mid inheritsFAILassert_true: marker-mid doesn't seem to be supported in the computed style expected true got false
Property marker-end has initial value noneFAILassert_true: marker-end doesn't seem to be supported in the computed style expected true got false
Property marker-end inheritsFAILassert_true: marker-end doesn't seem to be supported in the computed style expected true got false
Property paint-order has initial value normalFAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property paint-order inheritsFAILassert_true: paint-order doesn't seem to be supported in the computed style expected true got false
Property color-interpolation has initial value srgbFAILassert_true: color-interpolation doesn't seem to be supported in the computed style expected true got false
Property color-interpolation inheritsFAILassert_true: color-interpolation doesn't seem to be supported in the computed style expected true got false
Property shape-rendering has initial value autoFAILassert_true: shape-rendering doesn't seem to be supported in the computed style expected true got false
Property shape-rendering inheritsFAILassert_true: shape-rendering doesn't seem to be supported in the computed style expected true got false
Property text-rendering has initial value autoPASS
Property text-rendering inheritsPASS
Property image-rendering has initial value autoPASS
Property image-rendering inheritsFAILassert_equals: expected "optimizequality" but got "auto"

/svg/painting/inheritance.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="8000px">
  <title>Inheritance of SVG painting properties</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/painting.html"/>
    <h:meta name="assert" content="properties inherit according to the spec."/>
    <h:meta name="assert" content="properties have expected initial values."/>
  </metadata>
  <g id="container">
      <g id="target"></g>
  </g>
  <h:script src="/resources/testharness.js"/>
  <h:script src="/resources/testharnessreport.js"/>
  <h:script src="/css/support/inheritance-testcommon.js"/>
  <script><![CDATA[

assert_inherited('fill', 'rgb(0, 0, 0)', 'rgb(42, 53, 64)');
assert_inherited('fill-rule', 'nonzero', 'evenodd');
assert_inherited('fill-opacity', '1', '0.5');
assert_inherited('stroke', 'none', 'rgb(42, 53, 64)');
assert_inherited('stroke-opacity', '1', '0.5');
assert_inherited('stroke-width', '1px', '3px');
assert_inherited('stroke-linecap', 'butt', 'round');
assert_inherited('stroke-linejoin', 'miter', 'round');
assert_inherited('stroke-miterlimit', '4', '12');
assert_inherited('stroke-dasharray', 'none', '1px, 2px, 3px');
assert_inherited('stroke-dashoffset', '0px', '50%');
assert_inherited('marker-start', 'none', 'url("https://example/com/diagram.svg#marker")');
assert_inherited('marker-mid', 'none', 'url("https://example/com/diagram.svg#marker")');
assert_inherited('marker-end', 'none', 'url("https://example/com/diagram.svg#marker")');
assert_inherited('paint-order', 'normal', 'markers stroke');
assert_inherited('color-interpolation', 'srgb', 'linearrgb');
assert_inherited('shape-rendering', 'auto', 'optimizespeed');
assert_inherited('text-rendering', 'auto', 'optimizespeed');
assert_inherited('image-rendering', 'auto', 'optimizequality');

  ]]></script>
</svg>