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: line-height</title> | 4 <title>CSS 2.1 Test Suite: line-height</title> |
| 5 <script src="../resources/ahem.js"></script> |
5 <style type="text/css"> | 6 <style type="text/css"> |
6 .test { font: 24px Ahem; background: teal; color: aqua; width: 4em; padding:
0.5em 0 0.5em 1em; border: solid navy; margin: 0.5em; line-height: 0.5in; } | 7 .test { font: 24px Ahem; background: teal; color: aqua; width: 4em; padding:
0.5em 0 0.5em 1em; border: solid navy; margin: 0.5em; line-height: 0.5in; } |
7 .control { font: 24px/1 Ahem; background: teal; color: aqua; width: 5em; padd
ing: 0; border: solid navy; margin: 0.5em; } | 8 .control { font: 24px/1 Ahem; background: teal; color: aqua; width: 5em; padd
ing: 0; border: solid navy; margin: 0.5em; } |
8 </style> | 9 </style> |
9 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.
8.1 Leading and half-leading"> | 10 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#q26" title="10.
8.1 Leading and half-leading"> |
10 </head> | 11 </head> |
11 <body> | 12 <body> |
12 <p>The two blocks below should be identical:</p> | 13 <p>The two blocks below should be identical:</p> |
13 <div class="test"> X X X X </div> | 14 <div class="test"> X X X X </div> |
14 <pre class="control"> | 15 <pre class="control"> |
15 X X | 16 X X |
16 | 17 |
17 X X | 18 X X |
18 </pre> | 19 </pre> |
19 </body> | 20 </body> |
20 </html> | 21 </html> |
OLD | NEW |