Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / t140201-c536-bgpos-01-b-ag.html
blobb5eac0eb847284fc5d59f218017732a6ba5001fe
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 <script src="../resources/ahem.js"></script>
6 <style type="text/css">
7 html,body,div { margin: 0; border: 0; padding: 0; }
8 div { font: 15px/1 Ahem; color: white; width: 11em; }
10 /* tests */
11 .four {background-image: url(support/swatch-red.png); background-position: 100% 100%;
12 background-repeat: no-repeat;}
13 .five {background-image: url(support/swatch-red.png); background-position: 0% 50%;
14 background-repeat: no-repeat;}
15 .six {background-image: url(support/swatch-red.png); background-position: 80% 25%;
16 background-repeat: no-repeat;}
17 .seven {background-image: url(support/swatch-red.png); background-position: 30px 30px;
18 background-repeat: no-repeat;}
19 </style>
20 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" title="14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'">
21 </head>
22 <body>
23 <p>There should be no red on this page.</p>
24 <div class="four">
25            
26            
27            
28            
29           X
30 </div>
31 <div class="five">
32            
33            
34 X          
35            
36            
37 </div>
38 <div class="six">
39            
40         X  
41            
42            
43            
44 </div>
45 <div class="seven">
46            
47            
48   X        
49            
50            
51 </div>
52 </body>
53 </html>