/tests/wpt/css-tests/css-masking-1_dev/html/clip-path-circle-001.htm

https://gitlab.com/0072016/0072016-SDK-js-sdk-framework- · HTML · 18 lines · 17 code · 1 blank · 0 comment · 0 complexity · c4765e667cccc75bd4480db05ff556b5 MD5 · raw file

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