summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/421239-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/421239-2.html')
-rw-r--r--layout/reftests/bugs/421239-2.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/bugs/421239-2.html b/layout/reftests/bugs/421239-2.html
new file mode 100644
index 000000000..39f5bf47e
--- /dev/null
+++ b/layout/reftests/bugs/421239-2.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+ <style>
+ div#a { margin: 0px 0px 100px 0px; }
+ </style>
+ <script>
+ function boom()
+ {
+ var a = document.getElementById("a");
+ a.removeChild(a.firstChild);
+ document.documentElement.className = "";
+ }
+ </script>
+</head>
+<body onload="boom();">
+ <div id="a">a</div>
+ <div>b</div>
+</body>
+</html>