tor-browser

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

cancel-update.html (625B)


      1 <!DOCTYPE html>
      2 <link rel="help" href="https://crbug.com/564354">
      3 <link rel="help" href="https://issues.chromium.org/issues/40447203">
      4 <title>Check that cancelling one running animation and updating another doesn't
      5 crash.</title>
      6 <style>
      7  @keyframes anim {
      8    from { background-color: blue; }
      9    to { background-color: red; }
     10  }
     11 
     12  @keyframes anim2 {
     13    from { opacity: 0; }
     14    to { opacity: 1; }
     15  }
     16 </style>
     17 <div id="target"></div>
     18 <script>
     19  window.onload = () => {
     20    target.style.animation = "anim 1s, anim2 1s";
     21    target.offsetTop;
     22    target.style.animation = "anim2 2s";
     23    target.offsetTop;
     24  };
     25 </script>