tor-browser

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

simultaneous-animations-crash.html (728B)


      1 <!DOCTYPE html>
      2 <html class="test-wait">
      3 <title>CSS animations test: No crash should occur when an animation ends while other animations continue</title>
      4 <link rel="author" title="Philip Rogers" href="mailto:pdr@chromium.org">
      5 <link rel="help" href="https://crbug.com/1213307">
      6 <style>
      7  @keyframes animationKeyframes {
      8    from { opacity: 0.1; filter: blur(1px); }
      9    to { opacity: 0.9; filter: blur(5px); }
     10  }
     11 </style>
     12 <div id="longerAnimEl" style="animation: animationKeyframes 64ms;">a</div>
     13 <div id="shorterAnimEl" style="animation: both animationKeyframes 32ms;">b</div>
     14 <script>
     15  longerAnimEl.addEventListener('animationend', () => {
     16    document.documentElement.classList.remove('test-wait');
     17  });
     18 </script>
     19 </html>