clip-path-animation-overflow.html (844B)
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-overflow-ref.html"> 5 <meta name=fuzzy content="0-255;0-800"> 6 <style> 7 .container { 8 width: 200px; 9 height: 200px; 10 background-color: green; 11 border: 20px solid black; 12 animation: clippath 20s steps(2, jump-end) -9.999s; 13 } 14 @keyframes clippath { 15 0% { clip-path: circle(130px at 130px 130px); } 16 100% { clip-path: circle(110px at 110px 110px); } 17 } 18 </style> 19 <script src="/common/reftest-wait.js"></script> 20 <script src="../../../../web-animations/resources/timing-utils.js"></script> 21 <body> 22 <div class="container"><div class="container"></div></div> 23 24 <script> 25 waitForAnimationTime(document.getAnimations()[0], 1).then(takeScreenshot); 26 </script> 27 </body> 28 </html>