summaryrefslogtreecommitdiff
path: root/layout/reftests/svg/radialGradient-fr-02-ref.svg
blob: c256f72a24d686e75fc451981d8537c2344884f4 (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
26
27
28
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Test gradient fr attribute</title>
  <defs>
    <radialGradient id="grad1">
      <stop offset="0%" stop-color="red" />
      <stop offset="20%" stop-color="red" />
      <stop offset="100%" stop-color="lime" />
    </radialGradient>
    <style>
      .cover {
        stroke-width: 3px;
        stroke: lime;
        fill: none;
        image-rendering: optimizeSpeed;
      }
    </style>
  </defs>
  <rect width="100%" height="100%" fill="lime"/>

  <circle cx="100" cy="100" r="50" fill="url(#grad1)" />
  <circle class="cover" cx="100" cy="100" r="50" fill="none"/>
</svg>