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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/image-element/element-paint-background-size-02.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +
     1.8 +     Test with background-size.
     1.9 +-->
    1.10 +<html>
    1.11 +<body style="filter:url(#thresholdAt128);">
    1.12 +  <div style="width:80px; height:80px; border:1px solid black;
    1.13 +              background:-moz-element(#d) no-repeat;
    1.14 +              background-size:100%"></div>
    1.15 +  <div style="overflow:hidden; height:0;">
    1.16 +    <div id="d" style="border:10px solid red; width:20px; height:20px;
    1.17 +                       background:yellow;"></div>
    1.18 +  </div>
    1.19 +  <svg>
    1.20 +    <filter id="thresholdAt128" color-interpolation-filters="sRGB">
    1.21 +    <feColorMatrix type="matrix"
    1.22 +           values="255 0 0 0 -128 
    1.23 +                   0 255 0 0 -128 
    1.24 +                   0 0 255 0 -128 
    1.25 +                   0 0 0 255 -128"/>
    1.26 +
    1.27 +    </filter>
    1.28 +  </svg>
    1.29 +</body>
    1.30 +</html>

mercurial