tor-browser

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

1401801.html (563B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <style>
      4 #test {
      5  display: none;
      6  width: 100px;
      7  height: 100px;
      8 }
      9 </style>
     10 <div id="test"></div>
     11 <script>
     12  test.animate({ backgroundColor: [ 'red', 'blue' ] },
     13               { duration: 1000,
     14                 iterations: Infinity });
     15 
     16  requestAnimationFrame(() => {
     17    requestAnimationFrame(() => {
     18      document.styleSheets[0].cssRules[0].style.setProperty('display', 'block');
     19      test.getBoundingClientRect();
     20      document.documentElement.classList.remove('reftest-wait');
     21    });
     22  });
     23 </script>
     24 </html>