tor-browser

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

opacity-and-transform-animation-crash.html (601B)


      1 <!DOCTYPE HTML>
      2 <html class=test-wait>
      3 <style type="text/css">
      4  @keyframes anim {
      5    from {
      6      opacity: 0.99;
      7    }
      8    to {
      9      opacity: 0.9;
     10      transform: scale(1, 1);
     11    }
     12  }
     13 </style>
     14 <div id="div" style="transform: scale(1, 10); animation: 50ms linear 0s anim;"></div>
     15 <script>
     16  function boom() {
     17    div.style.transform = '';
     18    document.execCommand("SelectAll", false, "");
     19    requestAnimationFrame(function() {
     20      requestAnimationFrame(function() {
     21        document.documentElement.classList.remove('test-wait');
     22      });
     23    });
     24  }
     25  setTimeout(boom, 50);
     26 </script>
     27 </html>