| 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 <script src="../../../../resources/ahem.js"></script> |
| 5 <style type="text/css"> | 6 <style type="text/css"> |
| 6 @font-face { font-family: myahem; src: url(../../../resources/Ahem.ttf); } | 7 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; co
lor: white; } |
| 7 .control { display: inline; font: 1em/1 myahem, sans-serif; background: red;
color: white; } | |
| 8 * { white-space: normal; } | 8 * { white-space: normal; } |
| 9 div { display: block; } | 9 div { display: block; } |
| 10 span { display: inline; } | 10 span { display: inline; } |
| 11 table { padding: 0; border-spacing: 0; border: solid; } | 11 table { padding: 0; border-spacing: 0; border: solid; } |
| 12 td { font: 20px/1 myahem; color: red; background: red; padding: 0; } | 12 td { font: 20px/1 Ahem; color: red; background: red; padding: 0; } |
| 13 .red { background: red; } | 13 .red { background: red; } |
| 14 .green { color: green; background: lime; } | 14 .green { color: green; background: lime; } |
| 15 .check { width: 3em; background: lime; color: green; } | 15 .check { width: 3em; background: lime; color: green; } |
| 16 </style> | 16 </style> |
| 17 </head> | 17 </head> |
| 18 <body> | 18 <body> |
| 19 <div class="control">Ahem_font_required_for_this_test.</div> | 19 <div class="control">Ahem_font_required_for_this_test.</div> |
| 20 <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> |
| 21 <table> | 21 <table> |
| 22 <tr> | 22 <tr> |
| (...skipping 10 matching lines...) Expand all Loading... |
| 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"><span>X</span> <span>X</span> </div> |
| 35 <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> |
| 36 <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> |
| 37 <div class="check">X X</div> | 37 <div class="check">X X</div> |
| 38 </td> | 38 </td> |
| 39 </tr> | 39 </tr> |
| 40 </table> | 40 </table> |
| 41 </body> | 41 </body> |
| 42 </html> | 42 </html> |
| OLD | NEW |