tor-browser

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

partially-overlapping-animations-one-not-current-001.html (701B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>CSS Test (Animations): Reparenting an element with a web animation on the compositor</title>
      4 <link rel="author" title="L. David Baron" href="https://dbaron.org/">
      5 <link rel="author" title="Google" href="http://www.google.com/">
      6 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1319304">
      7 <meta name="assert" content="This should not crash.">
      8 
      9 <script>
     10 window.onload = function(){
     11  let div = document.querySelector("div");
     12  let a1 = div.animate([{"transform": "translateX(10px)", "opacity": "0.4"}], { duration: 1000 });
     13  a1.reverse();
     14  let a2 = div.animate([{"transform": "translateY(10px)"}], { duration: 1000 });
     15 }
     16 </script>
     17 <div>X</div>