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/linearGradient-basic-03.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
<title>Testing that spreadMethod="reflect" works</title>
<linearGradient id="g" gradientUnits="objectBoundingBox"
x1="0" x2="0.5" spreadMethod="reflect">
<stop stop-color="blue" offset="0"/>
<stop stop-color="yellow" offset="1"/>
</linearGradient>
<rect width="200" height="100" fill="url(#g)"/>
</svg>