tor-browser

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

619117-1.html (618B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <head>
      4 <style>
      5 div {
      6  position: absolute;
      7  padding: 2px;
      8  left: 100px;
      9  top: 700px;
     10  width: 100px;
     11  height: 100px;
     12  background: yellow;
     13  transform: scale(1.5);
     14  transform: scale(1.5);
     15 }
     16 body.toggle div {
     17  transform: translate(0, -400px);
     18  transform: translate(0, -400px);
     19 }
     20 </style>
     21 </head>
     22 <body>
     23 <div>Hello</div>
     24 <script>
     25 function doTest() {
     26  document.body.setAttribute("class", "toggle");
     27  document.documentElement.removeAttribute("class");
     28 }
     29 window.addEventListener("MozReftestInvalidate", doTest);
     30 </script>
     31 </body>
     32 </html>