tor-browser

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

652991-2.html (724B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3  <svg width="200" height="200">
      4    <defs>
      5      <clipPath id="myClip">
      6        <circle cx="30" cy="30" r="20"/>
      7        <circle cx="70" cy="70" r="20"/>
      8      </clipPath>
      9    </defs>
     10    <rect id="drawPath" x="10" y="10" width="100" height="100" clip-path="url(#myClip)"/>
     11  </svg>
     12  <script>
     13  function doTest() {
     14    window.history.pushState(null, "", "new-page");
     15 
     16    drawPath.style.display = "none";
     17    window.setTimeout(() => {
     18      drawPath.style.display = "inline";
     19      document.documentElement.removeAttribute('class');
     20    }, 0);
     21  }
     22 
     23  drawPath = document.getElementById("drawPath");
     24  window.addEventListener("MozReftestInvalidate", doTest);
     25  </script>
     26 </html>