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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

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

mercurial