diff options
Diffstat (limited to 'testing/web-platform/tests/svg/svg-in-svg')
-rw-r--r-- | testing/web-platform/tests/svg/svg-in-svg/svg-in-svg-circular-filter-reference-crash.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/svg-in-svg/svg-in-svg-circular-filter-reference-crash.html b/testing/web-platform/tests/svg/svg-in-svg/svg-in-svg-circular-filter-reference-crash.html new file mode 100644 index 0000000000..51303171f0 --- /dev/null +++ b/testing/web-platform/tests/svg/svg-in-svg/svg-in-svg-circular-filter-reference-crash.html @@ -0,0 +1,13 @@ +<!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> |