summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image/background-image-zoom-2.html
blob: 18a41ea430f4e96d766ae66498561c3ba52234f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<html reftest-zoom="1.8">
<style>
  a{
    background-repeat: inherit;
    background-position: inherit;
    /* this image has a red pixel at the bottom to
    prevent image lib from optimizing it into a
    solid color fill */
    background-image:url("nearly-white.png");
    line-height: 20px; /* set the line height so that the red pixel is not drawn */ 
  }
</style>
<div style="background-repeat: no-repeat">
    <a>&nbsp;</a><a>&nbsp;</a>
</div>
<p>
<div style="background-position: right top">
    <a>&nbsp;</a><a>&nbsp;</a>
</div>
<p>
<div>
    <a>&nbsp;</a><a>&nbsp;</a>
</div>