1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: white-space pre: simple tests</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/pre/002.html" type="text/html">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model">
8 <style type="text/css">
9 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
10 div { white-space: pre; font: 1em/1 Ahem; background: green; color: lime; }
11 </style>
12 </head>
13 <body>
14 <p>The word PASS must be drawn below, and there must be no red:</p>
15 <table><tr><td>
16 <div>
17 xxxx xxxx xxxx xxxx
18 x x x x x x
19 xxxx xxxx xxxx xxxx
20 x x x x x
21 x x x xxxx xxxx
22 </div>
23 </td></tr></table>
24 </body>
25 </html>