| 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: mixed tests (simple)</title> | 4 <title>white-space: mixed tests (simple)</title> |
| 5 <script src="../../../resources/ahem.js"></script> |
| 5 <style type="text/css"> | 6 <style type="text/css"> |
| 6 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; co
lor: white; } | 7 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; co
lor: white; } |
| 7 .test { font: 1em/1 Ahem; background: green; color: lime; float: left; clear:
left; margin: 1em; } | 8 .test { font: 1em/1 Ahem; background: green; color: lime; float: left; clear:
left; margin: 1em; } |
| 8 .normal { white-space: normal; } | 9 .normal { white-space: normal; } |
| 9 .nowrap { white-space: nowrap; } | 10 .nowrap { white-space: nowrap; } |
| 10 .pre { white-space: pre; } | 11 .pre { white-space: pre; } |
| 11 </style> | 12 </style> |
| 12 </head> | 13 </head> |
| 13 <body> | 14 <body> |
| 14 <div class="control">Ahem_font_required_for_this_test.</div> | 15 <div class="control">Ahem_font_required_for_this_test.</div> |
| 15 <p>The following two blocks should be identical.</p> | 16 <p>The following two blocks should be identical.</p> |
| 16 <div class="test normal">[<span class="normal"> </span><span class="pre"> </sp
an><span class="normal"> </span><span class="pre"> </span><span class="normal">
</span>]</div> | 17 <div class="test normal">[<span class="normal"> </span><span class="pre"> </sp
an><span class="normal"> </span><span class="pre"> </span><span class="normal">
</span>]</div> |
| 17 <div class="test pre">[ ]</div> | 18 <div class="test pre">[ ]</div> |
| 18 </body> | 19 </body> |
| 19 </html> | 20 </html> |
| OLD | NEW |