1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0//EN">
4 <title>white-space: mixed tests (simple)
</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 .test { font: 1em/1 Ahem
; background: green
; color: lime
; float: left
; clear: left
; margin: 1em; }
9 .normal { white-space: normal
; }
10 .nowrap { white-space: nowrap
; }
11 .pre { white-space: pre
; }
15 <div class=
"control">Ahem_font_required_for_this_test.
</div>
16 <p>The following two blocks should be identical.
</p>
17 <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>
18 <div class=
"test pre">[ ]
</div>