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/feimage-target-child-reference-crash.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>feImage referencing a child of the filter's target element</title>
<svg>
<filter id='f1' x='0' y='0' width='1' height='1'>
<feFlood flood-color='green'/>
</filter>
<filter id='f2' x='0' y='0' width='1' height='1'>
<feImage href='#inner'/>
</filter>
<g filter='url(#f2)'>
<g id='inner' filter='url(#f1)'>
<rect width='50' height='50' fill='orange'/>
</g>
</g>
</svg>