summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/387227-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/387227-2.html')
-rw-r--r--layout/reftests/bugs/387227-2.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/387227-2.html b/layout/reftests/bugs/387227-2.html
new file mode 100644
index 000000000..386a68c4e
--- /dev/null
+++ b/layout/reftests/bugs/387227-2.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ function runTest() {
+ var div = document.createElement("div");
+ div.appendChild(document.createTextNode("New Div"));
+ document.body.insertBefore(div, document.getElementById("insertion"));
+ }
+ </script>
+ </head>
+ <body onload="runTest()">
+ <div style="display: table-cell">Table cell</div>
+ <div id="insertion">Block</div>
+ </body>
+</html>