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