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 | 9 |
9 /* tests */ | 10 /* tests */ |
10 .four {background-image: url(support/swatch-red.png); background-position: 10
0% 100%; | 11 .four {background-image: url(support/swatch-red.png); background-position: 10
0% 100%; |
11 background-repeat: no-repeat;} | 12 background-repeat: no-repeat;} |
12 .five {background-image: url(support/swatch-red.png); background-position: 0%
50%; | 13 .five {background-image: url(support/swatch-red.png); background-position: 0%
50%; |
13 background-repeat: no-repeat;} | 14 background-repeat: no-repeat;} |
14 .six {background-image: url(support/swatch-red.png); background-position: 80%
25%; | 15 .six {background-image: url(support/swatch-red.png); background-position: 80%
25%; |
(...skipping 27 matching lines...) Expand all Loading... |
42 | 43 |
43 </div> | 44 </div> |
44 <div class="seven"> | 45 <div class="seven"> |
45 | 46 |
46 | 47 |
47 X | 48 X |
48 | 49 |
49 | 50 |
50 </div> | 51 </div> |
51 </body> | 52 </body> |
52 </html> | 53 </html> |
OLD | NEW |