tor-browser

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

1239564.html (651B)


      1 <html class="reftest-wait"><head>
      2 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      3 <title>Testcase for bug 1239564</title>
      4 <style>
      5 #circle {
      6  border-radius: 300px;
      7  height: 80px;
      8  width: 80px;
      9  background-color: red;
     10  margin: auto;
     11  position: absolute;
     12  left: 0;
     13  right: 0;
     14  top:0;
     15  bottom: 0;
     16  will-change: transform;
     17 }
     18 </style>
     19 <body>
     20 <div id="circle"></div>
     21 <script>
     22 var c = document.getElementById('circle');
     23 function doTest() {
     24  c.style.transform = "translateZ(1px) scale(3)";
     25  document.documentElement.removeAttribute('class');
     26 }
     27 document.addEventListener("MozReftestInvalidate", doTest);
     28 </script>
     29 </body></html>