tor-browser

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

clip-path-animation-forward-fill-positive-delay.html (1004B)


      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-forward-fill-positive-delay-ref.html">
      5 <style>
      6  .container {
      7    width: 100px;
      8    height: 100px;
      9    background-color: green;
     10    animation: clippath 1s 10s;
     11    animation-fill-mode: forwards;
     12    position: absolute;
     13    left: 10px;
     14    top: 10px;
     15  }
     16 
     17  .child {
     18    width: 10px;
     19    height: 10px;
     20    background-color: blue;
     21    left: 150px;
     22    position: absolute;
     23  }
     24 
     25  @keyframes clippath {
     26    0% {
     27      clip-path: circle(50% at 50% 50%);
     28    }
     29 
     30    100% {
     31      clip-path: circle(35% at 35% 35%);
     32    }
     33  }
     34 </style>
     35 <script src="/common/reftest-wait.js"></script>
     36 <script src="../../../../web-animations/resources/timing-utils.js"></script>
     37 
     38 <body>
     39  <div class="container">
     40    <div class="child"></div>
     41  </div>
     42 
     43  <script>
     44    document.getAnimations()[0].ready.then(takeScreenshot);
     45  </script>
     46 </body>
     47 
     48 </html>