Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<title>CSS Masking: Test clip-path property and circle function on circle 021</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<link rel="match" href="clip-path-circle-021-ref.html">
<meta name="assert" content="The clip-path property takes the basic shape circle() with large reference box and percentage radius.">
</head>
<body>
<p>The test passes if there is a green circle.</p>
<div style="width: 600px; height: 600px; background-color: green; clip-path: circle(50%);"></div>
</body>
</html>