clip-path-circle-021.html (908B)
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 on circle 021</title> 9 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 10 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 11 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clipping-paths"> 12 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#propdef-clip-path"> 13 <link rel="match" href="clip-path-circle-021-ref.html"> 14 <meta name="assert" content="The clip-path property takes the basic shape circle() with large reference box and percentage radius."> 15 </head> 16 <body> 17 <p>The test passes if there is a green circle.</p> 18 <div style="width: 600px; height: 600px; background-color: green; clip-path: circle(50%);"></div> 19 </body> 20 </html>