layout/reftests/image-element/bug-463204.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/image-element/bug-463204.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/licenses/publicdomain/
     1.7 +
     1.8 +     bug 463204
     1.9 +-->
    1.10 +<html>
    1.11 +  <head>
    1.12 +    <style>
    1.13 +      span {
    1.14 +        background-image: -moz-element(#g);
    1.15 +        display: inline-block;
    1.16 +        margin-left: 0.6px;
    1.17 +      }
    1.18 +      #repeat {
    1.19 +        width: 38px;
    1.20 +        height: 38px;
    1.21 +        background-repeat: repeat;
    1.22 +      }
    1.23 +      #norepeat {
    1.24 +        width: 19px;
    1.25 +        height: 19px;
    1.26 +        background-repeat: no-repeat;
    1.27 +        background-position: center center;
    1.28 +      }
    1.29 +    </style>
    1.30 +  </head>
    1.31 +  <body>
    1.32 +    <span id="repeat"></span><br/>
    1.33 +    <span id="norepeat"></span>
    1.34 +    <div style="overflow:hidden; height:0px">
    1.35 +      <div id="g" style="width:17px; height:17px; border:1px solid red;
    1.36 +                         background: orange;"></div>
    1.37 +    </div>
    1.38 +  </body>
    1.39 +</html>

mercurial