tor-browser

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

1443027-1.html (762B)


      1 <!DOCTYPE HTML>
      2 <html class="reftest-wait">
      3 <body>
      4  <div id="first" style="position:absolute; width: 200px; height: 200px; background-color:blue; z-index: 1"></div>
      5  <div style="position:absolute; left: 400px; width: 200px; height: 200px; background-color:green; z-index: 2"></div>
      6  <div id="overlay" style="position:absolute; top: 100px; width: 600px; height: 200px; background-color:orange; z-index: 10"></div>
      7 </body>
      8 <script>
      9  function doTest2() {
     10    document.getElementById("overlay").style.zIndex= 11;
     11    document.documentElement.removeAttribute('class');
     12  }
     13  function doTest() {
     14    document.getElementById("first").style.zIndex = 3;
     15    setTimeout(doTest2, 1000);
     16  }
     17 
     18  window.addEventListener("MozReftestInvalidate", doTest);
     19 </script>
     20 </html>