tor-browser

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

doc_mutations_add_remove_immediately.html (460B)


      1 <!DOCTYPE html>
      2 <html lang="en">
      3  <head>
      4    <meta charset="UTF-8">
      5  </head>
      6  <body>
      7    <div></div>
      8 
      9    <script>
     10    "use strict";
     11 
     12    // This function is called from test.
     13    // eslint-disable-next-line
     14    function startMutation() {
     15      const target = document.querySelector("div");
     16      const animation = target.animate({ opacity: [1, 0] }, 100000);
     17      animation.currentTime = 1;
     18      animation.cancel();
     19    }
     20    </script>
     21  </body>
     22 </html>