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-stroke-resource.svg
<defs>
<linearGradient id="gradient1">
<stop offset="0%" stop-color="white"/>
<stop offset="100%" stop-color="blue"/>
</linearGradient>
<linearGradient id="gradient2">
<stop offset="0%" stop-color="blue"/>
<stop offset="100%" stop-color="blue"/>
</linearGradient>
<linearGradient id="gradient3">
<stop offset="0%" stop-color="blue"/>
<stop offset="100%" stop-color="blue"/>
</linearGradient>
</defs>
<rect id="stroke1" x="10" y="10" width="80" height="80" fill="white" stroke-width="5" stroke="url(#gradient1)"/>
<rect id="stroke2" x="10" y="110" width="80" height="80" fill="white" stroke-width="5" />
<rect id="stroke3" x="10" y="210" width="80" height="80" fill="white" stroke-width="5" />
</svg>