1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
4 <!-- ================================================================ -->
5 <!-- WARNING! This document contains significant trailing whitespace! -->
6 <!-- ================================================================ -->
9 <title>white-space: mixed tests</title>
10 <style type="text/css">
11 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
12 .test { font: 1em/1 Ahem; background: green; color: lime; width: 19em; }
13 .normal { white-space: normal; }
14 .nowrap { white-space: nowrap; }
15 .pre { white-space: pre; }
19 <div class="control">Ahem_font_required_for_this_test.</div>
20 <p>There should be a pretty green and lime pattern and the word "PASS" in lime on white below.</p>
21 <div class="test pre">
22 1234567890123456789<span class="normal">
24 x <span class="pre"></span> x<span>
26 </span> x x</span> x <span> x x </span> x <span class="pre">x</span>
27 1234</span>567890123456789 xxxx xxxx xx<span class="normal">x<span class="nowrap">x
28 xxxx </span> </span>x<span class="normal"> <span class="pre"> </span> <span class="pre"> </span> <span class="pre"> </span>
30 </span> </span> <span class="pre"> </span><span class="normal"> </span> <span class="nowrap">
31 </span><span class="normal"> </span> x x x x x x x
32 <span class="nowrap">x
33 x x x x x x x x x xxxx
34 xxxx xxxx xxxx </span>
35 x x x x x x x<span class="normal"> xxxxxxxxxxxxxxxxxxx<span
36 class="pre"> x x x xxxx xxxx </span></span>