Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-masking/clip-path-svg-content/clip-path-shape-circle-003.svg - WPT Dashboard Interop Dashboard
<g id="testmeta">
<title>CSS Masking: Basic shape circle() on SVG rectangle with fill-box</title>
<html:link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"/>
<html:link rel="match" href="reference/clip-path-circle-001-ref.svg" />
<html:meta name="fuzzy" content="maxDifference=0-70; totalPixels=0-210"/>
<metadata class="flags">svg</metadata>
<desc class="assert">A basic shape function circle() applied to an SVG
rectangle. The specified keyword fill-box defines the reference box
(here objectBoundingBox). You should see a full green circle.</desc>
</g>
<rect width="100" height="100" fill="green" stroke="green" stroke-width="10" style="clip-path: circle() fill-box;"/>
</svg>