Source code

Revision control

Copy as Markdown

Other Tools

<!--
Any copyright is dedicated to the Public Domain.
-->
<!DOCTYPE html>
<html>
<head>
<title>CSS Masking: Ref test for clip-path's ellipse function 001</title>
<link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
</head>
<body>
<p>The test passes if there is a green horizontal ellipse.</p>
<div style="width: 400px; height: 200px; background-color: green; clip-path: url(#c1);"></div>
<svg>
<clipPath id="c1">
<ellipse cx="200" cy="100" rx="200" ry="100"/>
</clipPath>
</svg>
</body>
</html>