Reviewed by Maciej.
[WebKit-https.git] / LayoutTests / css2.1 / t140201-c536-bgpos-01-b-ag.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3  <head>
4   <title>CSS 2.1 Test Suite: background-position</title>
5   <style type="text/css">
6    html,body,div { margin: 0; border: 0; padding: 0; }
7    div { font: 15px/1 Ahem; color: white; width: 11em; }
8
9    /* tests */
10    .four {background-image: url(support/swatch-red.png); background-position: 100% 100%;
11           background-repeat: no-repeat;}
12    .five {background-image: url(support/swatch-red.png); background-position: 0% 50%;
13           background-repeat: no-repeat;}
14    .six {background-image: url(support/swatch-red.png); background-position: 80% 25%;
15           background-repeat: no-repeat;}
16    .seven {background-image: url(support/swatch-red.png); background-position: 30px 30px;
17           background-repeat: no-repeat;}
18   </style>
19   <link title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" rel="help">
20  </head>
21  <body>
22   <p>There should be no red on this page.</p>
23   <div class="four">
24                
25                
26                
27                
28               X
29   </div>
30   <div class="five">
31                
32                
33     X          
34                
35                
36   </div>
37   <div class="six">
38                
39             X  
40                
41                
42                
43   </div>
44   <div class="seven">
45                
46                
47       X        
48                
49                
50   </div>
51  </body>
52 </html>