1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <title>white-space normal: simple tests</title>
5 <style type="text/css">
6 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
7 * { white-space: normal; }
8 div { display: block; }
9 span { display: inline; }
10 table { padding: 0; border-spacing: 0; border: solid; }
11 td { font: 20px/1 Ahem; color: red; background: red; padding: 0; }
12 .red { background: red; }
13 .green { color: green; background: lime; }
14 .check { width: 3em; background: lime; color: green; }
18 <div class="control">Ahem_font_required_for_this_test.</div>
19 <p>There should be three columns below, dark green, light green, and dark green, with no red anywhere.</p>
23 <div class="red"> </div>
24 <div class="red"> <div></div></div>
25 <div class="red"> <div> </div></div>
26 <div class="red"><div> </div></div>
27 <div class="red"><div> </div> </div>
28 <div class="red"><div></div> </div>
29 <div class="red"> <div></div> </div>
30 <div class="red"> <div> </div> </div>
31 <div class="green"><span>X</span> <span>X</span></div>
32 <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"> <div></div> <span>X</span> <span>X</span> </div>
35 <div class="green"> <span>X</span> <span>X</span> <div></div> </div>
36 <div class="check">X X</div>