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 0000000000..6db0b8e89c
--- /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.firstChild.remove();
+ document.documentElement.className = "";
+ }
+ </script>
+</head>
+<body onload="boom();">
+ <div id="a">a</div>
+ <div>b</div>
+</body>
+</html>