summaryrefslogtreecommitdiff
path: root/test/SVG/twin-gradients.xml
blob: 6213f1b9eeda8acfd38104294bb187847ee49c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" 
  "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
<svg width="4in" height="3in">
  <desc>Gradients apply to leaf nodes
  </desc>
  <g>
    <defs>
      <lineargradient id="MyGradient">
        <gradientstop offset="0%" color="#F60"/>
        <gradientstop offset="70%" color="#FF6"/>
      </lineargradient>
    </defs>
    <g style="fill: url(#MyGradient)">
      <rect width="20" height="15.8"/>
      <rect width="35" height="8"/>
   </g>
  </g>
</svg>