summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/crashtests/firefox-bug-1703592.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/crashtests/firefox-bug-1703592.html')
-rw-r--r--testing/web-platform/tests/svg/crashtests/firefox-bug-1703592.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/crashtests/firefox-bug-1703592.html b/testing/web-platform/tests/svg/crashtests/firefox-bug-1703592.html
new file mode 100644
index 0000000000..badd12e5dd
--- /dev/null
+++ b/testing/web-platform/tests/svg/crashtests/firefox-bug-1703592.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1703592">
+<style>
+* {
+ font-size: 1237818528.6247747em;
+}
+</style>
+<script>
+ window.addEventListener('load', async () => {
+ const svg_1 = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
+ const svg_2 = document.createElementNS('http://www.w3.org/2000/svg', 'svg')
+ const anchor = document.createElementNS('http://www.w3.org/2000/svg', 'a')
+ svg_2.setAttribute('width', '14em')
+ anchor.appendChild(svg_2)
+ svg_1.appendChild(anchor)
+ document.documentElement.appendChild(svg_1)
+ const selection = window.getSelection()
+ selection.selectAllChildren(svg_1)
+ })
+</script>