layout/reftests/svg/pattern-transform-presence-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 <?xml version="1.0"?>
michael@0 2 <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 100">
michael@0 3 <defs>
michael@0 4 <pattern id="patternRotated" width="1" height="1"
michael@0 5 patternTransform="rotate(45 50 50)">
michael@0 6 <rect width="50" height="50" fill="blue"/>
michael@0 7 <rect x="50" width="50" height="50" fill="red"/>
michael@0 8 <rect y="50" width="50" height="50" fill="red"/>
michael@0 9 <rect x="50" y="50" width="50" height="50" fill="blue"/>
michael@0 10 </pattern>
michael@0 11 <pattern id="patternNotRotated" width="1" height="1">
michael@0 12 <rect width="50" height="50" fill="blue"/>
michael@0 13 <rect x="50" width="50" height="50" fill="red"/>
michael@0 14 <rect y="50" width="50" height="50" fill="red"/>
michael@0 15 <rect x="50" y="50" width="50" height="50" fill="blue"/>
michael@0 16 </pattern>
michael@0 17 </defs>
michael@0 18 <rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
michael@0 19 <g transform="translate(100)">
michael@0 20 <rect width="100" height="100" stroke="black" fill="url(#patternRotated)"/>
michael@0 21 </g>
michael@0 22 <g transform="translate(200)">
michael@0 23 <rect width="100" height="100" stroke="black" fill="url(#patternNotRotated)"/>
michael@0 24 </g>
michael@0 25 </svg>

mercurial