tor-browser

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

1452805-1.html (909B)


      1 <html class="reftest-wait">
      2  <head>
      3    <style>
      4    div {
      5      width: 200px;
      6      height: 200px;
      7      background-color: blue;
      8      filter: greyscale(50%);
      9      position: relative;
     10    }
     11    #second {
     12      width: 600px;
     13      height: 500px;
     14      display: none;
     15      background-color: green;
     16    }
     17    </style>
     18  </head>
     19  <body>
     20    <div id="top" style="z-index:-4;"></div>
     21    <div style="top: 10px;"></div>
     22    <div style="top: 20px;">
     23        <div id="second" style="top: -400px;"></div>
     24    </div>
     25 
     26    <script>
     27      function doTest2() {
     28        document.getElementById("second").style.display = "block";
     29        document.documentElement.removeAttribute("class");
     30      }
     31      function doTest() {
     32        document.getElementById("top").style.zIndex = -5;
     33        setTimeout(doTest2, 500);
     34      }
     35      document.addEventListener("MozReftestInvalidate", doTest);
     36    </script>
     37  </body>
     38 </html>