summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/421239-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/421239-1.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/reftests/bugs/421239-1.html b/layout/reftests/bugs/421239-1.html
new file mode 100644
index 0000000000..d9cc8b5b48
--- /dev/null
+++ b/layout/reftests/bugs/421239-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+ <style>
+ div#a { margin: 100px 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>