wpt / css / filter-effects / effect-reference-after-001.html

Status: FAIL | Duration: 9ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/filter-effects/effect-reference-after-001.html

<!doctype html>
<title>SVG Filters: feColorMatrix filter</title>
<link rel="help" href="https://drafts.fxtf.org/filter-effects/#FilterProperty">
<link rel="help" href="https://drafts.fxtf.org/filter-effects/#feColorMatrixElement">
<link rel="help" href="https://bugs.webkit.org/show_bug.cgi?id=90405">
<link rel="match" href="reference/effect-reference-after-001-ref.html">
<meta name="assert" content="Check that a reference filter with forward references work"/>
<body>
<img style="filter: url(#MyFilter);" src="support/color-palette.png">
<svg width="0px" height="0px">
  <defs>
    <filter id="MyFilter">
      <feColorMatrix type="hueRotate" values="180"/>
    </filter>
  </defs>
</svg>
</body>

/css/filter-effects/reference/effect-reference-after-001-ref.html

<!doctype html>
<html>
  <body>
    <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="0px" height="0px">
      <defs>
        <filter id="MyFilter">
          <feColorMatrix type="hueRotate" values="180"/>
        </filter>
      </defs>
    </svg><img style="filter: url(#MyFilter);" src="../support/color-palette.png">
  </body>
</html>