summaryrefslogtreecommitdiffstats
path: root/layout/svg/crashtests/1421807-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/svg/crashtests/1421807-2.html')
-rw-r--r--layout/svg/crashtests/1421807-2.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/svg/crashtests/1421807-2.html b/layout/svg/crashtests/1421807-2.html
new file mode 100644
index 0000000000..30b100642c
--- /dev/null
+++ b/layout/svg/crashtests/1421807-2.html
@@ -0,0 +1,15 @@
+<style>
+.c1 { display: contents; }
+</style>
+<script>
+function go() {
+ a.attachShadow({mode: "open"}).innerHTML = `<slot> </slot> `;
+ b.appendChild(a);
+}
+</script>
+<body onload=go()>
+<div id="a" class="c1">
+ <span></span>
+</div>
+<svg>
+<text id="b">