Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / box_properties / padding_top_inline.html
blobc8ffaffa65152bdfb87c9b2b854a4f9a86f0c8c7
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.06 padding-top</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 {padding-top: 25px; background-color: aqua;}
11 .two {padding-top: -10px; background-color: aqua;}
12 </STYLE>
14 </HEAD>
16 <BODY><P>The style declarations which apply to the text below are:</P>
17 <PRE>.one {padding-top: 25px; background-color: aqua;}
18 .two {padding-top: -10px; background-color: aqua;}
20 </PRE>
21 <HR>
22 <P style="background-color: gray;">
23 This element is unstyled save for a background color of gray. It contains an <SPAN class="one">inline element of class <TT>one</TT>, giving it an aqua background and a 25px top padding</SPAN>. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height. There may be implementation-specific limits on how much of the padding the user agent is able to display.
24 </P>
25 <P style="background-color: gray;">
26 This element is unstyled save for a background color of gray. It contains an <SPAN class="two">inline element of class <TT>two</TT>, giving it an aqua background and no top padding, since negative padding values are not allowed</SPAN>. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height.
27 </P>
30 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
31 <TR>
32 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
33 </TR>
34 <TR>
35 <TD bgcolor="silver">&nbsp;</TD>
36 <TD><P style="background-color: gray;">
37 This element is unstyled save for a background color of gray. It contains an <SPAN class="one">inline element of class <TT>one</TT>, giving it an aqua background and a 25px top padding</SPAN>. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height. There may be implementation-specific limits on how much of the padding the user agent is able to display.
38 </P>
39 <P style="background-color: gray;">
40 This element is unstyled save for a background color of gray. It contains an <SPAN class="two">inline element of class <TT>two</TT>, giving it an aqua background and no top padding, since negative padding values are not allowed</SPAN>. Padding on inline elements does not affect line-height calculations, so all lines in this element should have the same line-height.
41 </P>
42 </TD></TR></TABLE></BODY>
43 </HTML>