summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/387227-2.html
blob: 386a68c4e820865e527ba6389e781f915b572c60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>