wpt / svg / text / inheritance.svg

Status: FAIL | Duration: 56ms | Subtests: 2/10 | 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 inline-size has initial value autoPASS
Property inline-size does not inheritPASS
Property shape-inside has initial value autoFAILassert_true: shape-inside doesn't seem to be supported in the computed style expected true got false
Property shape-inside does not inheritFAILassert_true: expected true got false
Property shape-subtract has initial value autoFAILassert_true: shape-subtract doesn't seem to be supported in the computed style expected true got false
Property shape-subtract does not inheritFAILassert_true: expected true got false
Property shape-margin has initial value 0pxFAILassert_true: shape-margin doesn't seem to be supported in the computed style expected true got false
Property shape-margin does not inheritFAILassert_true: expected true got false
Property text-anchor has initial value startFAILassert_true: text-anchor doesn't seem to be supported in the computed style expected true got false
Property text-anchor inheritsFAILassert_true: text-anchor doesn't seem to be supported in the computed style expected true got false

/svg/text/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 text properties</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/text.html"/>
    <h:meta name="assert" content="text properties do not inherit."/>
    <h:meta name="assert" content="text 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_not_inherited('inline-size', 'auto', '10px');
assert_not_inherited('shape-inside', 'auto', 'url("https://example/com/")');
assert_not_inherited('shape-subtract', 'auto', 'url("https://example/com/")');
assert_not_inherited('shape-margin', '0px', '10px');
assert_inherited('text-anchor', 'start', 'middle');

  ]]></script>
</svg>