1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
4 <title>white-space normal: zero width non-breaking space
</title>
5 <script src=
"../../../resources/ahem.js"></script>
6 <style type=
"text/css">
8 .control { display: inline
; font: 1em/1 Ahem
, sans-serif
; background: red
; color: white
; }
9 * { white-space: normall
; font: inherit
; }
10 div
{ display: block
; margin: 1em; }
11 span
{ display: inline
; }
14 div
{ font: 20px/1 Ahem
; }
15 .green { background: lime
; color: green
; }
16 .red { background: red
; color: maroon
; }
20 <div class=
"control">Ahem_font_required_for_this_test.
</div>
21 <p>There should be no red below, only two identical striped green and lime bars.
</p>
23 <div><span class=
"red">
24 <span class=
"green">X
</span> <span class=
"red"> </span> <span class=
"green"> X
</span>
25 <span class=
"green">X
</span> <span class=
"green"> X
</span>
26 <span class=
"green">X
</span><span class=
"green"> X
<span class=
"red"> </span></span>
29 <div><span class=
"green">X X X X X X
</span></div>