clip-path-circle-001.html (1094B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Masking: Test clip-path property and circle function with absolute values</title> 5 <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> 6 <link rel="author" title="Denise White" href="mailto:denisegwhite@outlook.com"> 7 <link rel="author" title="Laury Kenton" href="mailto:webshiva@mac.com"> 8 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#clipping-paths"> 9 <link rel="help" href="http://www.w3.org/TR/css-masking-1/#the-clip-path"> 10 <link rel="match" href="reference/clip-path-circle-ref.html"> 11 <meta name="fuzzy" content="0-38; 0-800"> 12 <meta name="assert" content="The clip-path property takes the basic shape 13 'circle' for clipping. Test absolute values for arguments. On pass you 14 should see a green circle and no red."> 15 <meta name="fuzzy" content="maxDifference=0-60; totalPixels=0-900"> 16 </head> 17 <body> 18 <p>The test passes if there is a full green circle.</p> 19 <div style="width: 200px; height: 200px; background-color: green; clip-path: circle();"></div> 20 </body> 21 </html>