summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/385607-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/385607-1.html')
-rw-r--r--layout/reftests/bugs/385607-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/385607-1.html b/layout/reftests/bugs/385607-1.html
new file mode 100644
index 0000000000..a2b89fdc02
--- /dev/null
+++ b/layout/reftests/bugs/385607-1.html
@@ -0,0 +1,16 @@
+<html>
+<head>
+<script>
+function m()
+{
+ document.body.offsetHeight;
+ var div = document.getElementById("div");
+ var doomed = document.getElementById("doomed");
+ div.removeChild(doomed);
+}
+</script>
+</head>
+<body onload="m();">
+<div id="div"><span>x </span><div id="doomed">y</div><span> x</span></div>
+</body>
+</html>