layout/reftests/svg/rect-04.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 <svg xmlns="http://www.w3.org/2000/svg"
     2      xmlns:xlink="http://www.w3.org/1999/xlink">
     3   <title>Test that a rect with no width/height does not display even with a filter</title>
     5   <rect width="100%" height="100%" fill="lime"/>
     7   <filter id="filter" filterUnits="userSpaceOnUse"
     8           x="0" y="0" width="100%" height="100%">
     9     <!-- data: URI is a 1x1 red GIF -->
    10     <feImage preserveAspectRatio="xMidYMid slice"
    11              style="image-rendering: optimizeSpeed;"
    12              xlink:href="data:image/gif,GIF87a%01%00%01%00%80%01%00%FF%00%00%FF%FF%FF%2C%00%00%00%00%01%00%01%00%00%02%02D%01%00%3B">
    13     </feImage>
    14   </filter>
    16   <rect filter="url(#filter)"/>
    18 </svg>

mercurial