Bug 1874684 - Part 37: Fix unified compilation. r=allstarschh
[gecko.git] / layout / reftests / dom / insertmultiple.html
blobcb58f5bdd8bec3a6947b00281b097a666abe04dd
1 <html class="reftest-wait">
2 <head>
4 <script>
5 function boom()
7 document.body.offsetHeight;
9 var lastdiv = document.getElementById("last");
10 var parent = lastdiv.parentNode;
12 for (var i = 2; i <= 4; i++) {
13 var newdiv = document.createElement("div");
14 newdiv.appendChild(document.createTextNode(i));
15 parent.insertBefore(newdiv, lastdiv);
18 document.body.offsetHeight;
19 document.documentElement.className = "";
21 </script>
23 </head>
24 <body onload="boom();">
25 <div>1</div>
26 <div id="last">5</div>
27 </body>
28 </html>