layout/reftests/svg/gradient-live-01-ref.svg

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <svg xmlns="http://www.w3.org/2000/svg"
michael@0 2 xmlns:xlink="http://www.w3.org/1999/xlink" font-size="80">
michael@0 3
michael@0 4 <linearGradient id="grad1" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">
michael@0 5 <stop id="green" stop-color="#00dd00" offset="0"/>
michael@0 6 <stop id="blue" stop-color="#0000dd" offset="0.5"/>
michael@0 7 <stop id="magenta" stop-color="magenta" offset="1"/>
michael@0 8 </linearGradient>
michael@0 9 <rect x="20" y="20" width="440" height="80" fill="url(#grad1)" />
michael@0 10
michael@0 11 <linearGradient id="grad2" xlink:href="#grad1"/>
michael@0 12 <rect x="20" y="150" width="440" height="80" fill="url(#grad2)" />
michael@0 13 <text x="20" y="300" width="440" height="80" fill="url(#grad1)">gradiation</text>
michael@0 14 <text x="20" y="400" width="440" height="80" fill="url(#grad2)">gradiation</text>
michael@0 15
michael@0 16 </svg>

mercurial