clip-path-circle-013.html (904B)
1 <!-- 2 Any copyright is dedicated to the Public Domain. 3 http://creativecommons.org/publicdomain/zero/1.0/ 4 --> 5 <!DOCTYPE html> 6 <html> 7 <head> 8 <title>CSS Masking: Test clip-path property and circle function with position 010</title> 9 <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> 10 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clipping-paths"> 11 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#propdef-clip-path"> 12 <link rel="match" href="clip-path-circle-002-ref.html"> 13 <meta name="assert" content="The clip-path property takes the basic shape 14 circle with a position for clipping of a rectangle. On pass you should see 15 a green circle."> 16 </head> 17 <body> 18 <p>The test passes if there is a green circle.</p> 19 <div style="width: 400px; height: 400px; background-color: green; clip-path: circle(25% at 25% 25%);"></div> 20 </body> 21 </html>