layout/reftests/dom/appendmultiple.html

branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
equal deleted inserted replaced
-1:000000000000 0:54674ec8ee79
1 <html class="reftest-wait">
2 <head>
3
4 <script>
5 function boom()
6 {
7 document.body.offsetHeight;
8
9 var parent = document.getElementById("body");
10
11 for (var i = 3; i <= 5; i++) {
12 var newdiv = document.createElement("div");
13 newdiv.appendChild(document.createTextNode(i));
14 parent.appendChild(newdiv);
15 }
16
17 document.body.offsetHeight;
18 document.documentElement.className = "";
19 }
20 </script>
21
22 </head>
23 <body id="body" onload="boom();">
24 <div>1</div>
25 <div>2</div>
26 </body>
27 </html>

mercurial