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/currentColor-override-stop.svg
<defs>
<linearGradient id="gradient" color="red" stop-color="currentColor">
<stop offset="0" style="color:lime;" stop-color="inherit" />
<stop offset="1" stop-color="lime" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#gradient)" />
</svg>