tor-browser

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

clip-path-animation-font-size-inherited.html (799B)


      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-font-size-ref.html">
      5 <style>
      6  body {
      7    font-size: 20px;
      8  }
      9 
     10  .container {
     11    width: 100px;
     12    height: 100px;
     13    background-color: green;
     14    animation: clippath 20s steps(2, jump-end) -9.999s;
     15  }
     16 
     17  @keyframes clippath {
     18    0% {
     19      clip-path: circle(1em);
     20    }
     21 
     22    100% {
     23      clip-path: circle(2em);
     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>