clip-path-ellipse-001.html (914B)
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 ellipse function without values</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-ellipse-001-ref.html"> 13 <meta name="assert" content="The clip-path property takes the basic shape 14 ellipse without values for clipping of a rectangle. On pass you should see 15 a green horizontal ellipse."> 16 </head> 17 <body> 18 <p>The test passes if there is a green horizontal ellipse.</p> 19 <div style="width: 400px; height: 200px; background-color: green; clip-path: ellipse();"></div> 20 </body> 21 </html>