summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/597240-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/597240-1.xhtml')
-rw-r--r--layout/generic/crashtests/597240-1.xhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/generic/crashtests/597240-1.xhtml b/layout/generic/crashtests/597240-1.xhtml
new file mode 100644
index 000000000..19e04acaa
--- /dev/null
+++ b/layout/generic/crashtests/597240-1.xhtml
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script>
+<![CDATA[
+
+function boom()
+{
+ document.documentElement.offsetHeight;
+ var div = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
+ div.style.cssFloat = "left";
+ document.getElementById("a").appendChild(div);
+}
+
+]]>
+</script>
+</head>
+<body onload="boom();">
+<fieldset id="a"><legend style="display: table-footer-group;"></legend></fieldset>
+</body>
+</html>