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-transform-01.svg
<title>Gradients with non-invertible gradientTransforms, linearGradient</title>
<h:link rel="match" href="reference/green-100x100.svg"/>
<linearGradient id="scale0" gradientTransform="scale(0)">
<stop offset="0" stop-color="yellow"/>
<stop offset="1" stop-color="red"/>
</linearGradient>
<rect width="50" height="100" fill="url(#scale0) green"/>
<linearGradient id="matrix0" gradientTransform="matrix(0, 0, 0, 0, 0, 0)">
<stop offset="0" stop-color="yellow"/>
<stop offset="1" stop-color="red"/>
</linearGradient>
<rect x="50" width="50" height="100" fill="url(#matrix0) green"/>
</svg>