Bumping manifests a=b2g-bump
[gecko.git] / layout / reftests / dom / inserttoparentandchild-1.html
blob7219e786dc696a9f95df1da1a1e5f5f2f8772f03
1 <html class="reftest-wait">
2 <head>
4 <script>
5 function boom()
7 document.body.offsetHeight;
9 var fivediv = document.getElementById("five");
10 var parent = fivediv.parentNode;
12 for (var i = 3; i <= 4; i++) {
13 var newdiv = document.createElement("div");
14 newdiv.appendChild(document.createTextNode(i));
15 parent.insertBefore(newdiv, fivediv);
18 var fivedeediv = document.getElementById("fivedee");
19 parent = fivedeediv.parentNode;
21 var newdiv = document.createElement("div");
22 newdiv.appendChild(document.createTextNode("5b"));
23 parent.insertBefore(newdiv, fivedeediv);
25 newdiv = document.createElement("div");
26 newdiv.appendChild(document.createTextNode("5c"));
27 parent.insertBefore(newdiv, fivedeediv);
29 document.body.offsetHeight;
30 document.documentElement.className = "";
32 </script>
34 </head>
35 <body onload="boom();">
36 <div>1</div>
37 <div>2</div>
38 <div id="five">
39 <div>5a</div>
40 <div id="fivedee">5d</div>
41 </div>
42 <div>6</div>
43 <div>7</div>
44 <div>8</div>
45 <div>9</div>
46 </body>
47 </html>