summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/1771538.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/1771538.html')
-rw-r--r--layout/svg/crashtests/1771538.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/svg/crashtests/1771538.html b/layout/svg/crashtests/1771538.html
new file mode 100644
index 0000000000..8bbfbe485e
--- /dev/null
+++ b/layout/svg/crashtests/1771538.html
@@ -0,0 +1,14 @@
+<script>
+document.addEventListener("DOMContentLoaded", () => {
+ a.setAttribute("width", "0px")
+ setTimeout(() => { window.location.reload(true) }, 100) // helps with repro
+})
+</script>
+<svg id="a">
+<circle id="b">
+</circle>
+<text>
+<textPath xlink:href="#b">
+</textPath>
+<textPath xlink:href="#b">
+A</altGlyph>