summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1402476.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/1402476.html')
-rw-r--r--layout/base/crashtests/1402476.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/base/crashtests/1402476.html b/layout/base/crashtests/1402476.html
new file mode 100644
index 0000000000..df3ad1e894
--- /dev/null
+++ b/layout/base/crashtests/1402476.html
@@ -0,0 +1,13 @@
+<html class="reftest-wait">
+ <script>
+ a = document.createElement("style")
+ a.appendChild(document.createTextNode("*:first-letter { }"))
+ document.documentElement.appendChild(a)
+ a.style.display = "contents"
+ setTimeout(() => {
+ a.appendChild(document.createElement("x"));
+ a.lastChild.offsetWidth;
+ document.documentElement.className = "";
+ }, 0)
+ </script>
+</html>