OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> |
2 <HTML> | 2 <HTML> |
3 <HEAD> | 3 <HEAD> |
4 <TITLE>CSS1 Test Suite: 5.6.2 white-space</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.6.2 white-space</TITLE> |
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 <META http-equiv="Content-Style-Type" content="text/css"> | 6 <META http-equiv="Content-Style-Type" content="text/css"> |
7 | 7 |
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> | 8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> |
9 <STYLE type="text/css"> | 9 <STYLE type="text/css"> |
| 10 body {overflow: hidden;} |
10 .one {white-space: pre;} | 11 .one {white-space: pre;} |
11 .two {white-space: nowrap;} | 12 .two {white-space: nowrap;} |
12 .three {white-space: normal;} | 13 .three {white-space: normal;} |
13 </STYLE> | 14 </STYLE> |
14 | 15 |
15 </HEAD> | 16 </HEAD> |
16 | 17 |
17 <BODY><P>The style declarations which apply to the text below are:</P> | 18 <BODY><P>The style declarations which apply to the text below are:</P> |
18 <PRE>.one {white-space: pre;} | 19 <PRE>.one {white-space: pre;} |
19 .two {white-space: nowrap;} | 20 .two {white-space: nowrap;} |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 53 |
53 <P class="two"> | 54 <P class="two"> |
54 This sentence should not word-wrap, no matter how long the sentence is, as it ha
s been set to nowrap and that should have the obvious effect. | 55 This sentence should not word-wrap, no matter how long the sentence is, as it ha
s been set to nowrap and that should have the obvious effect. |
55 </P> | 56 </P> |
56 | 57 |
57 <P class="one"> | 58 <P class="one"> |
58 This sentence should show extra space, <SPAN class="three">except in
the second half</SPAN>. | 59 This sentence should show extra space, <SPAN class="three">except in
the second half</SPAN>. |
59 </P> | 60 </P> |
60 </TD></TR></TABLE></BODY> | 61 </TD></TR></TABLE></BODY> |
61 </HTML> | 62 </HTML> |
OLD | NEW |