summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/feflood-with-filter-reference.html
blob: 0a8fede7e611391d32d2fe46948051abf88fd426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!doctype html>
<title>Filter primitive (feFlood) with filter reference</title>
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#FilterProperty">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#feFloodElement">
<link rel="match" href="reference/green-100x100.html">
<svg>
  <filter id="f" x="0" y="0" width="1" height="1"
          color-interpolation-filters="sRGB">
    <feFlood flood-color="green" filter="url(#f)"/>
  </filter>
  <rect width="100" height="100" filter="url(#f)"/>
</svg>