tor-browser

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

clip-path-animation-forward-fill.html (793B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#basic-shape-interpolation">
      4 <link rel="match" href="clip-path-animation-ref.html">
      5 <style>
      6  .container {
      7    width: 100px;
      8    height: 100px;
      9    background-color: green;
     10    animation: clippath 1s steps(3, jump-none) -0.9s;
     11    animation-fill-mode: forwards;
     12  }
     13 
     14  @keyframes clippath {
     15    0% {
     16      clip-path: circle(50% at 50% 50%);
     17    }
     18 
     19    100% {
     20      clip-path: circle(35% at 35% 35%);
     21    }
     22  }
     23 </style>
     24 <script src="/common/reftest-wait.js"></script>
     25 <script src="../../../../web-animations/resources/timing-utils.js"></script>
     26 
     27 <body>
     28  <div class="container"></div>
     29 
     30  <script>
     31    document.getAnimations()[0].finished.then(takeScreenshot);
     32  </script>
     33 </body>
     34 
     35 </html>