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.)

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

mercurial