1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite:
5.6.2 white-space
</TITLE>
5 <META http-equiv=
"Content-Type" content=
"text/html; charset=iso-8859-1">
6 <META http-equiv=
"Content-Style-Type" content=
"text/css">
8 <LINK rel=
"stylesheet" type=
"text/css" media=
"screen" href=
"../resources/base.css">
9 <STYLE type=
"text/css">
10 body {overflow: hidden;}
11 .one {white-space: pre;}
12 .two {white-space: nowrap;}
13 .three {white-space: normal;}
18 <BODY><P>The style declarations which apply to the text below are:
</P>
19 <PRE>.one {white-space: pre;}
20 .two {white-space: nowrap;}
21 .three {white-space: normal;}
26 This sentence should show extra space where there would ordinarily not be any.
27 There should also be preservation of returns
29 very clearly demonstrates.
33 This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect.
37 This sentence should show extra space,
<SPAN class=
"three">except in the second half
</SPAN>.
41 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
43 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
46 <TD bgcolor=
"silver"> </TD>
48 This sentence should show extra space where there would ordinarily not be any.
49 There should also be preservation of returns
51 very clearly demonstrates.
55 This sentence should not word-wrap, no matter how long the sentence is, as it has been set to nowrap and that should have the obvious effect.
59 This sentence should show extra space,
<SPAN class=
"three">except in the second half
</SPAN>.
61 </TD></TR></TABLE></BODY>