summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-objectgradient-ref.svg
blob: 91ebb683dab2617489ef7c0fe4a37b813f14f2b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<svg xmlns="http://www.w3.org/2000/svg">

  <defs>
    <linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse">
      <stop stop-color="purple" offset="0%" />
      <stop stop-color="lime" offset="100%" />
    </linearGradient>
    <radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse">
      <stop stop-color="red" offset="0%" />
      <stop stop-color="blue" offset="100%" />
    </radialGradient>
  </defs>

  <rect x="20" y="20" width="160" height="160" stroke="none"
    fill="url(#grad)" />
    
  <rect x="310" y="10" width="180" height="180" fill="url(#grad)"
    stroke="none" />
    
  <rect x="20" y="320" width="160" height="160" fill="burlywood"
    stroke="url(#grad2)" stroke-width="10" />
    
  <rect x="310" y="310" width="180" height="180" fill="url(#grad2)"
    stroke="url(#grad)" stroke-width="20" />
</svg>