tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

appendmultiple.html (483B)


      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>