layout/reftests/image/background-image-zoom-2.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/image/background-image-zoom-2.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +<html reftest-zoom="1.8">
     1.5 +<style>
     1.6 +  a{
     1.7 +    background-repeat: inherit;
     1.8 +    background-position: inherit;
     1.9 +    /* this image has a red pixel at the bottom to
    1.10 +    prevent image lib from optimizing it into a
    1.11 +    solid color fill */
    1.12 +    background-image:url("nearly-white.png");
    1.13 +    line-height: 20px; /* set the line height so that the red pixel is not drawn */ 
    1.14 +  }
    1.15 +</style>
    1.16 +<div style="background-repeat: no-repeat">
    1.17 +    <a>&nbsp;</a><a>&nbsp;</a>
    1.18 +</div>
    1.19 +<p>
    1.20 +<div style="background-position: right top">
    1.21 +    <a>&nbsp;</a><a>&nbsp;</a>
    1.22 +</div>
    1.23 +<p>
    1.24 +<div>
    1.25 +    <a>&nbsp;</a><a>&nbsp;</a>
    1.26 +</div>

mercurial