summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-objectopacity-ref.svg
blob: 8dfb53acedcd92a7b9ebdf11faca11b3247283e6 (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
29
30
<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-width="10"
        fill="url(#grad)" stroke="url(#grad2)"
        fill-opacity="0.5" stroke-opacity="1.0" />
    
  <rect x="320" y="20" width="160" height="160" stroke-width="10"
        fill="url(#grad)" stroke="url(#grad2)"
        fill-opacity="1.0" stroke-opacity="0.5" />
    
  <rect x="20" y="320" width="160" height="160" stroke-width="10"
        fill="url(#grad2)" stroke="url(#grad)"
        fill-opacity="0.5" stroke-opacity="1.0" />
    
  <rect x="320" y="320" width="160" height="160" stroke-width="10"
        fill="url(#grad2)" stroke="url(#grad)"
        fill-opacity="1.0" stroke-opacity="0.5" />

</svg>