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/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg
<svg xmlns="http://www.w3.org/2000/svg" reftest-zoom="0.5">
<defs>
<linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse">
<stop stop-color="purple" offset="0%" />
<stop stop-color="lime" offset="100%" />
</linearGradient>
<radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse">
<stop stop-color="red" offset="0%" />
<stop stop-color="blue" offset="100%" />
</radialGradient>
</defs>
<rect x="20" y="20" width="160" height="160" stroke="none"
fill="url(#grad)" />
<rect x="310" y="10" width="180" height="180" fill="url(#grad)"
stroke="none" />
<rect x="20" y="320" width="160" height="160" fill="burlywood"
stroke="url(#grad2)" stroke-width="10" />
<rect x="310" y="310" width="180" height="180" fill="url(#grad2)"
stroke="url(#grad)" stroke-width="20" />
</svg>