summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/387227-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/387227-1.html')
-rw-r--r--layout/reftests/bugs/387227-1.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/bugs/387227-1.html b/layout/reftests/bugs/387227-1.html
new file mode 100644
index 0000000000..3d0ad93353
--- /dev/null
+++ b/layout/reftests/bugs/387227-1.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>