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 normal: zero width non-breaking space</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/normal/009.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 /* setup */
10 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
11 * { white-space: normall; font: inherit; }
12 div { display: block; margin: 1em; }
13 span { display: inline; }
14
15 /* test */
16 div { font: 20px/1 Ahem; width: 4em; background: red; color: green; }
17 </style>
18 </head>
19 <body>
20 <div class="control">Ahem_font_required_for_this_test.</div>
21 <p>There should be a green block below, no red.</p>
22
23 <div>
24 xxxx
25 xxxx
26 </div>
27
28 </body>
29 </html>