wpt / svg / pservers / parsing / stop-opacity-computed.svg

Status: FAIL | Duration: 63ms | Subtests: 0/6 | Open test on wpt.live | wpt.fyi

Data from commit:
96ff533 Remove hidden nodes from the acccessibility tree (#823) (2026-09-07)

SubtestStatusMessage
Property stop-opacity value '-1'FAILassert_true: stop-opacity doesn't seem to be supported in the computed style expected true got false
Property stop-opacity value '0.5'FAILassert_true: stop-opacity doesn't seem to be supported in the computed style expected true got false
Property stop-opacity value '3'FAILassert_true: stop-opacity doesn't seem to be supported in the computed style expected true got false
Property stop-opacity value '-100%'FAILassert_true: stop-opacity doesn't seem to be supported in the computed style expected true got false
Property stop-opacity value '50%'FAILassert_true: stop-opacity doesn't seem to be supported in the computed style expected true got false
Property stop-opacity value '300%'FAILassert_true: stop-opacity doesn't seem to be supported in the computed style expected true got false

/svg/pservers/parsing/stop-opacity-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 Paint Servers: getComputedStyle().stopOpacity</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/pservers.html#StopOpacityProperty"/>
    <h:meta name="assert" content="stop-opacity computed value is clamped to the range [0,1]."/>
  </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("stop-opacity", "-1", "0");
test_computed_value("stop-opacity", "0.5");
test_computed_value("stop-opacity", "3", "1");
test_computed_value("stop-opacity", "-100%", "0");
test_computed_value("stop-opacity", "50%", "0.5");
test_computed_value("stop-opacity", "300%", "1");

  ]]></script>
</svg>