summaryrefslogtreecommitdiff
path: root/layout/generic/crashtests/399843-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/399843-1.html')
-rw-r--r--layout/generic/crashtests/399843-1.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/layout/generic/crashtests/399843-1.html b/layout/generic/crashtests/399843-1.html
new file mode 100644
index 0000000000..01bdffd71d
--- /dev/null
+++ b/layout/generic/crashtests/399843-1.html
@@ -0,0 +1,64 @@
+<html class="reftest-wait">
+<head>
+<style>
+
+ #colset {
+ width: 300pt;
+ height: 2in;
+ -moz-column-count: 3;
+ }
+
+ .container {
+ height: 1in;
+ }
+
+ .b6 {
+ height: 10in;
+ }
+
+ .c3 {
+ position: absolute;
+ }
+
+ .c4 {
+ height: 3in;
+ }
+
+</style>
+
+<script>
+
+function boom()
+{
+ document.getElementById("x").setAttribute("class", "c4");
+ setTimeout(boom2, 10);
+}
+
+function boom2()
+{
+ document.getElementById("x").setAttribute("class", "");
+ setTimeout(boom3, 10);
+}
+
+function boom3()
+{
+ document.documentElement.removeAttribute("class");
+}
+
+</script>
+</head>
+
+<body onload="boom();">
+
+<div id="colset">
+ <div id="x"></div>
+ <div class="container">
+ <div class="b6"></div>
+ <div>
+ <div class="c3"></div>
+ </div>
+ </div>
+</div>
+
+</body>
+</html>