summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/667025.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/667025.html')
-rw-r--r--layout/generic/crashtests/667025.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/generic/crashtests/667025.html b/layout/generic/crashtests/667025.html
new file mode 100644
index 000000000..29ef3d32b
--- /dev/null
+++ b/layout/generic/crashtests/667025.html
@@ -0,0 +1,22 @@
+<html>
+<head>
+<script>
+
+function boom()
+{
+ document.documentElement.offsetHeight;
+
+ document.documentElement.style.direction = "rtl";
+
+ document.documentElement.offsetHeight;
+ var s = document.getElementById("s");
+
+ s.removeChild(s.firstChild);
+
+ document.documentElement.offsetHeight;
+}
+
+</script>
+</head>
+<body onload="boom();" style="width: 1px;"><span id="s"> x y</span></body>
+</html>