Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/filter-effects/feflood-with-filter-reference.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>Filter primitive (feFlood) with filter reference</title>
<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>