1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <title>white-space: mixed tests (simple)</title>
5 <style type="text/css">
6 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
7 .test { font: 1em/1 Ahem; background: green; color: lime; float: left; clear: left; margin: 1em; }
8 .normal { white-space: normal; }
9 .nowrap { white-space: nowrap; }
10 .pre { white-space: pre; }
14 <div class="control">Ahem_font_required_for_this_test.</div>
15 <p>The following two blocks should be identical.</p>
16 <div class="test normal">[<span class="normal"> </span><span class="pre"> </span><span class="normal"> </span><span class="pre"> </span><span class="normal"> </span>]</div>
17 <div class="test pre">[ ]</div>