blob: c8ad88d9cc4deb54a023dfbd3b84673fc2f7bd4d [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<rect id="rect" width="150" height="150"/>
</defs>
<clipPath id="clip2">
<use xlink:href="#rect"/>
</clipPath>
<clipPath id="clip1" clip-path="url(#clip2)">
<use xlink:href="#rect" transform="translate(50, 50)"/>
</clipPath>
<rect width="200" height="200" fill="green" clip-path="url(#clip1)"/>
</svg>