summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/339651-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/339651-1.html')
-rw-r--r--layout/base/crashtests/339651-1.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/base/crashtests/339651-1.html b/layout/base/crashtests/339651-1.html
new file mode 100644
index 000000000..c7860c388
--- /dev/null
+++ b/layout/base/crashtests/339651-1.html
@@ -0,0 +1,37 @@
+<html style="border: 1px solid red; width: 6em;" class="reftest-wait">
+
+<head>
+<script type="text/javascript">
+
+function f1()
+{
+ document.getElementById("s").style.cssFloat = "left";
+
+ document.body.style.display = "inline";
+ document.getElementById("d").style.display = "inline";
+ document.getElementById("p").style.display = "inline";
+
+ setTimeout(f2, 30);
+}
+
+function f2()
+{
+ document.getElementById("d").style.cssFloat = "left";
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+</head>
+
+<body onload="f1()">
+
+TTTTT TTTTT
+<div id="d">
+YY
+<p id="p">
+ZZ
+<span id="s">
+
+</body>
+
+</html>