layout/reftests/svg/use-02-extref.svg

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:4826e632cfc1
1 <?xml version="1.0"?>
2 <svg xmlns="http://www.w3.org/2000/svg"
3 xmlns:xlink="http://www.w3.org/1999/xlink">
4 <g color="forestgreen">
5 <defs>
6 <linearGradient id="linearGrad1" gradientUnits="objectBoundingBox" y1="0" x1="0" y2="1" x2="1">
7 <stop offset="0%" stop-color="royalblue"/>
8 <stop offset="33%" stop-color="white"/>
9 <stop offset="50%" stop-color="darkblue"/>
10 <stop offset="66%" stop-color="white"/>
11 <stop offset="100%" stop-color="royalblue"/>
12 </linearGradient>
13
14 <radialGradient id="radialGrad1" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.5" fx="0.15" fy="0.15">
15 <stop offset="00%" stop-color="royalblue"/>
16 <stop offset="33%" stop-color="white"/>
17 <stop offset="50%" stop-color="darkblue"/>
18 <stop offset="66%" stop-color="white"/>
19 <stop offset="100%" stop-color="royalblue"/>
20 </radialGradient>
21 </defs>
22
23 <use xlink:href="use-02-extref-resource.svg#rect1" fill="url(#linearGrad1)"/>
24 <use xlink:href="use-02-extref-resource.svg#rect2" fill="currentColor"/>
25 <use xlink:href="use-02-extref-resource.svg#rect3"/>
26 <use xlink:href="use-02-extref-resource.svg#rect4"/>
27 </g>
28 </svg>

mercurial