Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / classification / white_space.html
bloba53e238dc01ce0546fddffd561103770cd523888
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2 <HTML>
3 <HEAD>
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;}
14 </STYLE>
16 </HEAD>
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;}
23 </PRE>
24 <HR>
25 <P class="one">
26 This sentence should show extra space where there would ordinarily not be any.
27 There should also be preservation of returns
28 as this sentence
29 very clearly demonstrates.
30 </P>
32 <P class="two">
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.
34 </P>
36 <P class="one">
37 This sentence should show extra space, <SPAN class="three">except in the second half</SPAN>.
38 </P>
41 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
42 <TR>
43 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
44 </TR>
45 <TR>
46 <TD bgcolor="silver">&nbsp;</TD>
47 <TD><P class="one">
48 This sentence should show extra space where there would ordinarily not be any.
49 There should also be preservation of returns
50 as this sentence
51 very clearly demonstrates.
52 </P>
54 <P class="two">
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.
56 </P>
58 <P class="one">
59 This sentence should show extra space, <SPAN class="three">except in the second half</SPAN>.
60 </P>
61 </TD></TR></TABLE></BODY>
62 </HTML>