blob: 1315610fed06c3471a45bbe4c8ba0377f8a716f5 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<rect id="rect" x="10" y="10" width="100" height="100" fill="green" clip-path="url(#clip-circle)"/>
<clipPath id="clip-circle" >
<circle cx="60" cy="60" r="50"/>
</clipPath>
<clipPath id="clip-rect">
<rect x="10" y="30" width="100" height="60"/>
</clipPath>
</defs>
<use xlink:href="#rect" clip-path="url(#clip-rect)"/>
</svg>