Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/clip-use-element-01.svg
<defs>
<clipPath id="myClipPath">
<rect x="100" y="100" width="100" height="100"/>
</clipPath>
<rect x="0" y="0" width="100" height="100" fill="red" id="abc"/>
</defs>
<rect x="0" y="0" width="100%" height="100%" fill="lime"/>
<use xlink:href="#abc"
x="100" y="100" clip-path="url(#myClipPath)"/>
</svg>