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 normal: simple tests</title> | 4 <title>white-space normal: 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 .control { display: inline; font: 1em/1 myahem, sans-serif; background: red;
color: white; } |
7 * { white-space: normal; } | 8 * { white-space: normal; } |
8 div { display: block; } | 9 div { display: block; } |
9 span { display: inline; } | 10 span { display: inline; } |
10 table { padding: 0; border-spacing: 0; border: solid; } | 11 table { padding: 0; border-spacing: 0; border: solid; } |
11 td { font: 20px/1 Ahem; color: red; background: red; padding: 0; } | 12 td { font: 20px/1 myahem; color: red; background: red; padding: 0; } |
12 .red { background: red; } | 13 .red { background: red; } |
13 .green { color: green; background: lime; } | 14 .green { color: green; background: lime; } |
14 .check { width: 3em; background: lime; color: green; } | 15 .check { width: 3em; background: lime; color: green; } |
15 </style> | 16 </style> |
16 </head> | 17 </head> |
17 <body> | 18 <body> |
18 <div class="control">Ahem_font_required_for_this_test.</div> | 19 <div class="control">Ahem_font_required_for_this_test.</div> |
19 <p>There should be three columns below, dark green, light green, and dark gree
n, with no red anywhere.</p> | 20 <p>There should be three columns below, dark green, light green, and dark gree
n, with no red anywhere.</p> |
20 <table> | 21 <table> |
21 <tr> | 22 <tr> |
(...skipping 10 matching lines...) Expand all Loading... |
32 <div class="green"> <span>X</span> <span>X</span></div> | 33 <div class="green"> <span>X</span> <span>X</span></div> |
33 <div class="green"><span>X</span> <span>X</span> </div> | 34 <div class="green"><span>X</span> <span>X</span> </div> |
34 <div class="green"> <div></div> <span>X</span> <span>X</span> </div> | 35 <div class="green"> <div></div> <span>X</span> <span>X</span> </div> |
35 <div class="green"> <span>X</span> <span>X</span> <div></div> </div> | 36 <div class="green"> <span>X</span> <span>X</span> <div></div> </div> |
36 <div class="check">X X</div> | 37 <div class="check">X X</div> |
37 </td> | 38 </td> |
38 </tr> | 39 </tr> |
39 </table> | 40 </table> |
40 </body> | 41 </body> |
41 </html> | 42 </html> |
OLD | NEW |