Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / box_properties / border_top_width.html
blob14533d2ad485b28704bf700108f24cab58d6ca14
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.5.11 border-top-width</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 .zero {background-color: silver; border-top-width: 0;}
11 .one {border-top-width: 25px; border-style: solid;}
12 .two {border-top-width: thick; border-style: solid;}
13 .three {border-top-width: medium; border-style: solid;}
14 .four {border-top-width: thin; border-style: solid;}
15 .five {border-top-width: 25px;}</STYLE>
17 </HEAD>
19 <BODY><P>The style declarations which apply to the text below are:</P>
20 <PRE>.zero {background-color: silver; border-top-width: 0;}
21 .one {border-top-width: 25px; border-style: solid;}
22 .two {border-top-width: thick; border-style: solid;}
23 .three {border-top-width: medium; border-style: solid;}
24 .four {border-top-width: thin; border-style: solid;}
25 .five {border-top-width: 25px;}
26 </PRE>
27 <HR>
28 <P>
29 (These will only work if <CODE>border-style</CODE> is supported.)
30 </P>
31 <P class="zero">
32 This element has a class of zero.
33 </P>
34 <P class="one">
35 This paragraph should have a top border width of 25 pixels.
36 </P>
37 <P class="two">
38 This paragraph should have a thick top border width.
39 </P>
40 <P class="three">
41 This paragraph should have a medium top border width.
42 </P>
43 <P class="four">
44 This paragraph should have a thin top border width.
45 </P>
46 <P class="five">
47 This paragraph should have no border and no extra "padding" on its top side, as no <CODE>border-style</CODE> was set.
48 </P>
51 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
52 <TR>
53 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
54 </TR>
55 <TR>
56 <TD bgcolor="silver">&nbsp;</TD>
57 <TD><P>
58 (These will only work if <CODE>border-style</CODE> is supported.)
59 </P>
60 <P class="zero">
61 This element has a class of zero.
62 </P>
63 <P class="one">
64 This paragraph should have a top border width of 25 pixels.
65 </P>
66 <P class="two">
67 This paragraph should have a thick top border width.
68 </P>
69 <P class="three">
70 This paragraph should have a medium top border width.
71 </P>
72 <P class="four">
73 This paragraph should have a thin top border width.
74 </P>
75 <P class="five">
76 This paragraph should have no border and no extra "padding" on its top side, as no <CODE>border-style</CODE> was set.
77 </P>
78 </TD></TR></TABLE></BODY>
79 </HTML>