layout/reftests/image-element/element-paint-background-size-02.html

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 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/licenses/publicdomain/
     5      Test with background-size.
     6 -->
     7 <html>
     8 <body style="filter:url(#thresholdAt128);">
     9   <div style="width:80px; height:80px; border:1px solid black;
    10               background:-moz-element(#d) no-repeat;
    11               background-size:100%"></div>
    12   <div style="overflow:hidden; height:0;">
    13     <div id="d" style="border:10px solid red; width:20px; height:20px;
    14                        background:yellow;"></div>
    15   </div>
    16   <svg>
    17     <filter id="thresholdAt128" color-interpolation-filters="sRGB">
    18     <feColorMatrix type="matrix"
    19            values="255 0 0 0 -128 
    20                    0 255 0 0 -128 
    21                    0 0 255 0 -128 
    22                    0 0 0 255 -128"/>
    24     </filter>
    25   </svg>
    26 </body>
    27 </html>

mercurial