OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS 2.1 Test Suite: background-position</title> | 4 <title>CSS 2.1 Test Suite: background-position</title> |
| 5 <script src="../resources/ahem.js"></script> |
5 <style type="text/css"> | 6 <style type="text/css"> |
6 html,body,div { margin: 0; border: 0; padding: 0; } | 7 html,body,div { margin: 0; border: 0; padding: 0; } |
7 div { font: 15px/1 Ahem; color: white; width: 11em; } | 8 div { font: 15px/1 Ahem; color: white; width: 11em; } |
8 .right { width: auto; text-align: right; } | 9 .right { width: auto; text-align: right; } |
9 | 10 |
10 /* tests */ | 11 /* tests */ |
11 body {background-image: url(support/swatch-red.png); background-position: rig
ht top; | 12 body {background-image: url(support/swatch-red.png); background-position: rig
ht top; |
12 background-repeat: no-repeat;} | 13 background-repeat: no-repeat;} |
13 .one {background-image: url(support/swatch-red.png); background-position: cen
ter; | 14 .one {background-image: url(support/swatch-red.png); background-position: cen
ter; |
14 background-repeat: no-repeat;} | 15 background-repeat: no-repeat;} |
(...skipping 22 matching lines...) Expand all Loading... |
37 | 38 |
38 </div> | 39 </div> |
39 <div class="three"> | 40 <div class="three"> |
40 | 41 |
41 | 42 |
42 | 43 |
43 | 44 |
44 X | 45 X |
45 </div> | 46 </div> |
46 </body> | 47 </body> |
47 </html> | 48 </html> |
OLD | NEW |