summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/654002-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/654002-1.html')
-rw-r--r--layout/generic/crashtests/654002-1.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/generic/crashtests/654002-1.html b/layout/generic/crashtests/654002-1.html
new file mode 100644
index 0000000000..b96b0ef35c
--- /dev/null
+++ b/layout/generic/crashtests/654002-1.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<html><head>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+ <title>Testcase for bug 654002</title>
+<script>
+function boom() {
+ var e = document.getElementById('inner');
+ var s = "<br>"
+ for (k=0;k<=14;k++) {
+ s += s;
+ }
+ e.innerHTML = s;
+ document.body.offsetHeight;
+ e.style.display = 'none'
+ document.body.offsetHeight;
+}
+</script>
+</head>
+<body onload="boom()">
+
+<div style="width:1px;"><span><span id="inner"></span></span></div>
+
+</body>
+</html>