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/testing/web-platform/tests/svg/pservers/reftests/gradient-color-interpolation.svg
<svg width="100%" height="100%"
<g id="testmeta">
<title>Gradient with color-interpolation: linearRGB</title>
<html:link rel="help"
<html:link rel="match" href="reference/gradient-color-interpolation-ref.svg" />
<html:meta name="fuzzy" content="maxDifference=0-20;totalPixels=0-29200" />
</g>
<defs>
<linearGradient id="gradientLinearRGB" gradientUnits="objectBoundingBox" color-interpolation="linearRGB">
<stop offset="0" stop-color="white"/>
<stop offset=".33" stop-color="blue"/>
<stop offset=".66" stop-color="red"/>
<stop offset="1" stop-color="yellow"/>
</linearGradient>
</defs>
<rect x="20" y="20" width="200" height="200" style="fill:url(#gradientLinearRGB)" />
</svg>