upload webkit/tizen 2.0_beta source.
[framework/web/webkit-efl.git] / LayoutTests / css1 / units / length_units.html
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: 6.1 Length Units</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css">
7
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
9 <STYLE type="text/css">
10 .zero {margin-left: 0;}
11 .one {margin-left: 3em;}
12 .two {margin-left: 3ex;}
13 .three {margin-left: 36px;}
14 .four {margin-left: 0.5in;}
15 .five {margin-left: 1.27cm;}
16 .six {margin-left: 12.7mm;}
17 .seven {margin-left: 36pt;}
18 .eight {margin-left: 3pc;}
19 .nine {margin-left: +3pc;}
20 .ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}</STYLE>
21
22 </HEAD>
23
24 <BODY><P>The style declarations which apply to the text below are:</P>
25 <PRE>.zero {margin-left: 0;}
26 .one {margin-left: 3em;}
27 .two {margin-left: 3ex;}
28 .three {margin-left: 36px;}
29 .four {margin-left: 0.5in;}
30 .five {margin-left: 1.27cm;}
31 .six {margin-left: 12.7mm;}
32 .seven {margin-left: 36pt;}
33 .eight {margin-left: 3pc;}
34 .nine {margin-left: +3pc;}
35 .ten {font-size: 40px; border-left: 1ex solid purple; background-color: aqua;}
36 </PRE>
37 <HR>
38 <P class="zero">
39 This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges should therefore be appropriately shifted to the right of <EM>this</EM> paragraph's left edge.
40 </P>
41 <P class="one">
42 This paragraph should have a left margin of 3em.
43 </P>
44 <P class="two">
45 This paragraph should have a left margin of 3ex.
46 </P>
47 <P class="three">
48 This paragraph should have a left margin of 36 pixels.
49 </P>
50 <P class="four">
51 This paragraph should have a left margin of half an inch.
52 </P>
53 <P class="five">
54 This paragraph should have a left margin of 1.27cm.
55 </P>
56 <P class="six">
57 This paragraph should have a left margin of 12.7mm.
58 </P>
59 <P class="seven">
60 This paragraph should have a left margin of 36 points.
61 </P>
62 <P class="eight">
63 This paragraph should have a left margin of 3 picas.
64 </P>
65 <P class="nine">
66 This paragraph should have a left margin of 3 picas (the plus sign should make no difference).
67 </P>
68 <P class="ten">
69 This element has a <CODE>font-size</CODE> of <CODE>40px</CODE> and a <CODE>border-left</CODE> of <CODE>1ex solid purple</CODE>.  This should make the left border the same number of pixels as the lower-case 'x' in this element's font, as well as solid purple.
70 </P>
71
72 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
73 <TR>
74 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
75 </TR>
76 <TR>
77 <TD bgcolor="silver">&nbsp;</TD>
78 <TD><P class="zero">
79 This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges should therefore be appropriately shifted to the right of <EM>this</EM> paragraph's left edge.
80 </P>
81 <P class="one">
82 This paragraph should have a left margin of 3em.
83 </P>
84 <P class="two">
85 This paragraph should have a left margin of 3ex.
86 </P>
87 <P class="three">
88 This paragraph should have a left margin of 36 pixels.
89 </P>
90 <P class="four">
91 This paragraph should have a left margin of half an inch.
92 </P>
93 <P class="five">
94 This paragraph should have a left margin of 1.27cm.
95 </P>
96 <P class="six">
97 This paragraph should have a left margin of 12.7mm.
98 </P>
99 <P class="seven">
100 This paragraph should have a left margin of 36 points.
101 </P>
102 <P class="eight">
103 This paragraph should have a left margin of 3 picas.
104 </P>
105 <P class="nine">
106 This paragraph should have a left margin of 3 picas (the plus sign should make no difference).
107 </P>
108 <P class="ten">
109 This element has a <CODE>font-size</CODE> of <CODE>40px</CODE> and a <CODE>border-left</CODE> of <CODE>1ex solid purple</CODE>.  This should make the left border the same number of pixels as the lower-case 'x' in this element's font, as well as solid purple.
110 </P></TD></TR></TABLE></BODY>
111 </HTML>