tor-browser

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

1418945-1.html (553B)


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