summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/gradient-href-01.html
blob: 32a5fb35b80c26beec3088c04953c9482f054c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html>
  <head>
    <base href="/"/>
  </head>
  <body bgcolor="lime">
    <svg width="100%" height="100%">
      <defs>
        <linearGradient id="b">
          <stop offset="0" stop-color="lime"/>
          <stop offset="1" stop-color="lime"/>
        </linearGradient>
        <linearGradient id="a" xlink:href="#b"/>
      </defs>
      <rect width="100%" height="100%" fill="red"/>
      <rect width="100%" height="100%" fill="url(#a)"/>
    </svg>
  </body>
</html>