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/radialGradient-basic-04.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Testcase for gradient with offset focal point</title>
<rect width="100%" height="100%" fill="lime"/>
<radialGradient id="g" r="50%" fy="0%">
<stop stop-color="lime" offset="0%"/>
<stop stop-color="lime" offset="100%"/>
<stop stop-opacity="0" offset="100%"/>
</radialGradient>"
<circle cx="50" cy="50" r="48" fill="red"/>
<rect width="100" height="100" fill="url(#g)"/>
</svg>