summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/linearGradient-basic-03.svg
blob: 3a5e3b5f1d48be9a49682a8e027f84723f2b58f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <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>