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-clip-path-circle-offset.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS Test: circle clip-path on svg graphics element with offset</title>
<link rel="match" href="svg-clip-path-circle-offset-ref.html">
<!-- Allow antialised pixel differences along the edge of the circle -->
<meta name="fuzzy" content="maxDifference=0-62; totalPixels=0-420">
<svg>
<rect x="30" y="30" width="100" height="100" fill="green" style="clip-path: circle(50%)"/>
</svg>