summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/1288946-2b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/1288946-2b.html')
-rw-r--r--layout/base/crashtests/1288946-2b.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/base/crashtests/1288946-2b.html b/layout/base/crashtests/1288946-2b.html
new file mode 100644
index 0000000000..30307ba57d
--- /dev/null
+++ b/layout/base/crashtests/1288946-2b.html
@@ -0,0 +1,13 @@
+<body style="width:0"><strong>a b<span id="span"><script>
+var code = document.createElement("code");
+var small = document.createElement("span");
+small.appendChild(document.createTextNode("x"));
+
+document.implementation;
+
+span.insertBefore(code, span.firstChild);
+span.style.display = "contents";
+window.scrollTo();
+code.remove();
+span.insertBefore(small, span.firstChild);
+</script></strong>