tor-browser

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

clip-path-animation-ensure-keyframe-update.html (824B)


      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 20s steps(1) -9.999s;
     11  }
     12 
     13  @keyframes clippath {
     14    0% {
     15      clip-path: circle(50% at 50% 50%);
     16    }
     17 
     18    50% {
     19      clip-path: circle(35% at 35% 35%);
     20    }
     21 
     22    100% {
     23      clip-path: circle(20% at 20% 20%);
     24    }
     25  }
     26 </style>
     27 <script src="/common/reftest-wait.js"></script>
     28 <script src="../../../../web-animations/resources/timing-utils.js"></script>
     29 
     30 <body>
     31  <div class="container"></div>
     32 
     33  <script>
     34    waitForAnimationTime(document.getAnimations()[0], 1).then(takeScreenshot);
     35  </script>
     36 </body>
     37 
     38 </html>