tor-browser

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

stress-1.html (625B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4 
      5 <style>
      6  .fl:first-line { }
      7  .inh { position: inherit; }
      8  .abs { position: absolute; }
      9  body { visibility: hidden; }
     10 </style>
     11 
     12 <script>
     13 
     14 function boom()
     15 {
     16  x = document.getElementById("x");
     17  y = document.getElementById("y");
     18 
     19  x.setAttribute('class', "fl abs");
     20  y.setAttribute('class', "inh");
     21  setTimeout(boom2, 5);
     22 }
     23 
     24 function boom2()
     25 {
     26  y.setAttribute('class', "abs");
     27  document.body.offsetWidth;
     28  document.documentElement.className = "";
     29 }
     30 
     31 </script>
     32 
     33 </head>
     34 
     35 <body onload="setTimeout(boom, 5);">
     36 <div id="x">
     37  <p id="y">foo</p>
     38 </div>
     39 </body>
     40 
     41 </html>