1 <html class=
"reftest-wait">
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
= "";
35 <body onload=
"boom();">
40 <div id=
"fivedee">5d
</div>