summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/534368-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/534368-1.xhtml')
-rw-r--r--layout/base/crashtests/534368-1.xhtml14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/base/crashtests/534368-1.xhtml b/layout/base/crashtests/534368-1.xhtml
new file mode 100644
index 0000000000..6b62e06049
--- /dev/null
+++ b/layout/base/crashtests/534368-1.xhtml
@@ -0,0 +1,14 @@
+<html xmlns="http://www.w3.org/1999/xhtml" style="position: absolute; font-size: 1000px; column-count: 3;">
+<script>
+
+function boom()
+{
+ var newSS = document.createElementNS("http://www.w3.org/1999/xhtml", "style");
+ newSS.appendChild(document.createTextNode("whattheheck:first-line {}"));
+ document.getElementById("h").appendChild(newSS);
+}
+window.addEventListener("load", boom, false);
+
+</script>
+<head id="h" style="overflow-x: scroll; display: block;"><style style="position: absolute; display: block;">zz ]</style><style style="display: none;">[</style><style style="display: none;">[e='zz']:nth-last-child(odd) {}</style><style style="display: none;"></style><style style="display: none;">[c]</style><style style="display: none;">[c]</style><style style="display: none;">[class='zzzzz'] {}</style></head>
+</html>