1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: white-space: mixed tests (simple)</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/mixed/002.html" type="text/html">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model">
8 <style type="text/css">
9 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
10 .test { border: solid blue; font: 1em/1 Ahem; background: yellow; color: orange; float: left; clear: left; margin: 1em; }
11 .normal { white-space: normal; }
12 .nowrap { white-space: nowrap; }
13 .pre { white-space: pre; }
14 </style>
15 </head>
16 <body>
17 <div class="control">Ahem_font_required_for_this_test.</div>
18 <p>The contents of the two blue boxes should be identical.</p>
19 <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>
20 <div class="test pre">[ ]</div>
21 </body>
22 </html>