Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / box_properties / margin_top_inline.html
blob3de5d8ca905de5f6ca9b8f6e2630258ed4c8015a
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.01 margin-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 .zero {background-color: silver; margin-top: 0;}
11 .one {margin-top: 25px; background-color: aqua;}
12 .two {margin-top: -10px; background-color: aqua;}
13 </STYLE>
15 </HEAD>
17 <BODY><P>The style declarations which apply to the text below are:</P>
18 <PRE>.zero {background-color: silver; margin-top: 0;}
19 .one {margin-top: 25px; background-color: aqua;}
20 .two {margin-top: -10px; background-color: aqua;}
22 </PRE>
23 <HR>
24 <P style="background-color: gray;">
25 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 margin</SPAN>. Margins on inline elements do not affect line-height calculations, so all lines in this element should have the same line-height.
26 </P>
27 <P style="background-color: gray;">
28 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 the inline element an aqua background and a -10px top margin</SPAN>. Margins on inline elements do not affect line-height calculations, so all lines in this element should have the same line-height.
29 </P>
32 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
33 <TR>
34 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
35 </TR>
36 <TR>
37 <TD bgcolor="silver">&nbsp;</TD>
38 <TD><P style="background-color: gray;">
39 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 margin</SPAN>. Margins on inline elements do not affect line-height calculations, so all lines in this element should have the same line-height.
40 </P>
41 <P style="background-color: gray;">
42 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 the inline element an aqua background and a -10px top margin</SPAN>. Margins on inline elements do not affect line-height calculations, so all lines in this element should have the same line-height.
43 </P>
44 </TD></TR></TABLE></BODY>
45 </HTML>