OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>white-space pre: simple tests</title> | 4 <title>white-space pre: simple tests</title> |
5 <style type="text/css"> | 5 <style type="text/css"> |
6 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; co
lor: white; } | 6 @font-face { font-family: myahem; src: url(../../../resources/Ahem.ttf); } |
7 div { white-space: pre; font: 1em/1 Ahem; background: green; color: lime; } | 7 .control { display: inline; font: 1em/1 myahem, sans-serif; background: red;
color: white; } |
| 8 div { white-space: pre; font: 1em/1 myahem; background: green; color: lime; } |
8 </style> | 9 </style> |
9 </head> | 10 </head> |
10 <body> | 11 <body> |
11 <div class="control">Ahem_font_required_for_this_test.</div> | 12 <div class="control">Ahem_font_required_for_this_test.</div> |
12 <table><tr><td> | 13 <table><tr><td> |
13 <div> | 14 <div> |
14 xxxx xxxx xxxx xxxx | 15 xxxx xxxx xxxx xxxx |
15 x x x x x x | 16 x x x x x x |
16 xxxx xxxx xxxx xxxx | 17 xxxx xxxx xxxx xxxx |
17 x x x x x | 18 x x x x x |
18 x x x xxxx xxxx | 19 x x x xxxx xxxx |
19 </div> | 20 </div> |
20 </td></tr></table> | 21 </td></tr></table> |
21 </body> | 22 </body> |
22 </html> | 23 </html> |
OLD | NEW |