Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / text_properties / text_align.html
blobc1fde75fb74cdff03c663331ff8b19bf5eec1772
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.4.6 text-align</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 .one {text-align: left;}
11 .two {text-align: right;}
12 .three {text-align: center;}
13 .four {text-align: justify;}
14 </STYLE>
16 </HEAD>
18 <BODY><P>The style declarations which apply to the text below are:</P>
19 <PRE>.one {text-align: left;}
20 .two {text-align: right;}
21 .three {text-align: center;}
22 .four {text-align: justify;}
24 </PRE>
25 <HR>
26 <P class="one">
27 This sentence should be left-justified.
28 </P>
29 <P class="two">
30 This sentence should be right-justified.
31 </P>
32 <P class="three">
33 This sentence should be centered.
34 </P>
35 <P class="four">
36 This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western languages.
37 </P>
40 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
41 <TR>
42 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
43 </TR>
44 <TR>
45 <TD bgcolor="silver">&nbsp;</TD>
46 <TD><P class="one">
47 This sentence should be left-justified.
48 </P>
49 <P class="two">
50 This sentence should be right-justified.
51 </P>
52 <P class="three">
53 This sentence should be centered.
54 </P>
55 <P class="four">
56 This sentence should be fully justified, which means that the right and left margins of this paragraph should line up, no matter how long the paragraph becomes; the exception, of course, is the last line, which should be left-justified in Western languages.
57 </P>
58 </TD></TR></TABLE></BODY>
59 </HTML>