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 0000000000..036aeda319
--- /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.firstChild.remove();
+
+ document.documentElement.offsetHeight;
+}
+
+</script>
+</head>
+<body onload="boom();" style="width: 1px;"><span id="s"> x y</span></body>
+</html>