Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/use-localRef-clipPath-01-ref.svg
<title>Reference for clipPath linked to local-ref URL</title>
<defs>
<clipPath id="clip1">
<circle cx="50" cy="50" r="50"/>
</clipPath>
<clipPath id="clip2">
<circle cx="50" cy="150" r="50"/>
</clipPath>
<clipPath id="clip3">
<circle cx="50" cy="250" r="50"/>
</clipPath>
</defs>
<rect x="0" y="0" width="100" height="100" fill="blue" clip-path="url(#clip1)"/>
<rect x="0" y="100" width="100" height="100" fill="blue" clip-path="url(#clip2)"/>
<rect x="0" y="200" width="100" height="100" fill="blue" clip-path="url(#clip3)"/>
</svg>