testing/web-platform/tests/css/css-masking/clip-path/animations/clip-path-animation-fragmented.html
author Lando <lando@lando.test>
Fri, 11 Jul 2025 09:11:47 +0000 (4 hours ago)
changeset 796052 0a0cf87651274d2f86228467e41dafd62a510749
parent 684236 6030ecd268ad1a53715434323cb5f49c083ea0d2
permissions -rw-r--r--
Merge autoland to mozilla-central
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="help" href="https://drafts.csswg.org/css-shapes-1/#basic-shape-interpolation">
<link rel="match" href="clip-path-animation-fragmented-ref.html">
<style>
  @keyframes clippath {
    0% {
      clip-path: circle(5% at 50% 50%);
    }

    100% {
      clip-path: circle(45% at 50% 50%);
    }
  }

  .outer {
    columns: 2;
    width: 200px;
    height: 100px;
  }

  .inner {
    background-color: blue;
    animation: clippath 20s steps(2, jump-end) -9.999s;
    height: 100px;
  }
</style>
<script src="/common/reftest-wait.js"></script>
<script src="../../../../web-animations/resources/timing-utils.js"></script>

<body>
  <div class="outer">
    <div class="inner">
    </div>
  </div>

  <script>
    waitForAnimationTime(document.getAnimations()[0], 1).then(takeScreenshot);
  </script>
</body>

</html>