blob: 6f785c14188d314ba62871407b2e3431cb339cb4 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<clipPath id="clip" clipPathUnits="userSpaceOnUse" style="transform: scale(10) translate(2px, 2px)">
<circle cx="10" cy="10" r="10"/>
<!-- second circle causes masking -->
<circle cx="10" cy="10" r="10"/>
</clipPath>
</defs>
<circle cx="120" cy="120" r="99" fill="red"/>
<a xlink:href="#"><rect width="220" height="220" fill="green" clip-path="url(#clip)"/></a>
</svg>