Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/svg-in-svg/svg-in-svg-circular-filter-reference-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Should not crash on circular filter reference containing an svg under svg.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>test(()=>{})</script>
<svg id="svg" filter="url(#filter)">
<filter id="filter">
<feImage xlink:href="#svg"></feImage>
</filter>
<svg overflow="hidden" width="20" height="20">
<rect fill="black" width="20" height="20"></rect>
</svg>
</svg>