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

Status: FAIL | Duration: 59ms | Subtests: 0/10 | 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-color value 'currentcolor'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'white'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'transparent'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'rgb(255, 255, 255)'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value '#ffffff'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'rgba(255, 255, 255, 1.0)'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'rgba(255, 255, 255, 0.4)'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'hsl(0deg, 100%, 100%)'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'hsla(0deg, 100%, 100%, 1.0)'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false
Property stop-color value 'hsla(0deg, 100%, 100%, 0.4)'FAILassert_true: stop-color doesn't seem to be supported in the computed style expected true got false

/svg/pservers/parsing/stop-color-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">
  <title>SVG Paint Servers: getComputedStyle().stopColor</title>
  <metadata>
    <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/pservers.html#StopColorProperty"/>
    <h:link rel="help" href="https://drafts.csswg.org/css-color/#resolve-color-values"/>
    <h:link rel="help" href="https://drafts.csswg.org/cssom/#serializing-css-values"/>
  </metadata>
  <g id="target" style="color: blue"></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-color", "currentcolor", "rgb(0, 0, 255)");
test_computed_value("stop-color", "white", "rgb(255, 255, 255)");
test_computed_value("stop-color", "transparent", "rgba(0, 0, 0, 0)");
test_computed_value("stop-color", "rgb(255, 255, 255)");
test_computed_value("stop-color", "#ffffff", "rgb(255, 255, 255)");
test_computed_value("stop-color", "rgba(255, 255, 255, 1.0)", "rgb(255, 255, 255)");
test_computed_value("stop-color", "rgba(255, 255, 255, 0.4)");
test_computed_value("stop-color", "hsl(0deg, 100%, 100%)", "rgb(255, 255, 255)");
test_computed_value("stop-color", "hsla(0deg, 100%, 100%, 1.0)", "rgb(255, 255, 255)");
test_computed_value("stop-color", "hsla(0deg, 100%, 100%, 0.4)", "rgba(255, 255, 255, 0.4)");

  ]]></script>
</svg>