layout/reftests/image-element/element-paint-transform-repeated.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-transform-repeated.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +
     1.8 +     Test a repeated background with some transform.
     1.9 +     The transform scales up which causes blurring, so
    1.10 +     we use an SVG filter to get rid of it.
    1.11 +-->
    1.12 +<html>
    1.13 +<body style="filter:url(#thresholdAt128)">
    1.14 +  <div style="width:80px; height:80px; border: 1px solid black;
    1.15 +              background: 7px 7px -moz-element(#d);
    1.16 +              -moz-transform:matrix(2,0,0,2,50,50);">
    1.17 +  </div>
    1.18 +  <div style="overflow:hidden; height:0;">
    1.19 +    <div id="d" style="border:10px solid white; width:20px; height:20px;
    1.20 +                       background:black;"></div>
    1.21 +  </div>
    1.22 +
    1.23 +  <svg>
    1.24 +    <filter id="thresholdAt128" color-interpolation-filters="sRGB">
    1.25 +      <feComponentTransfer>
    1.26 +        <feFuncR type="linear" slope="255" intercept="-128"/>
    1.27 +        <feFuncG type="linear" slope="255" intercept="-128"/>
    1.28 +        <feFuncB type="linear" slope="255" intercept="-128"/>
    1.29 +      </feComponentTransfer>
    1.30 +    </filter>
    1.31 +  </svg>
    1.32 +</body>
    1.33 +</html>

mercurial