Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css1 / box_properties / padding_right_inline.html
blob1d6bdfb5dbf42813a4a430fab6419733c43fd5ef
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.07 padding-right</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-right: 25px; text-align: right; background-color: aqua;}
11 .two {padding-right: -10px; text-align: right; 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-right: 25px; text-align: right; background-color: aqua;}
18 .two {padding-right: -10px; text-align: right; 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. However, it contains an <SPAN class="one">inline element of class <TT>one</TT></SPAN>, which should result in 25-pixel right padding (which should also be light blue) only in the <STRONG>last</STRONG> line in which the inline box appears.
24 </P>
25 <P style="background-color: gray;">
26 This element is unstyled save for a background color of gray. However, it contains an <SPAN class="two">inline element of class <TT>two</TT></SPAN>, which should result in no right padding, since negative padding values are not allowed, in the <STRONG>last</STRONG> line in which the inline box appears.
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. However, it contains an <SPAN class="one">inline element of class <TT>one</TT></SPAN>, which should result in 25-pixel right padding (which should also be light blue) only in the <STRONG>last</STRONG> line in which the inline box appears.
38 </P>
39 <P style="background-color: gray;">
40 This element is unstyled save for a background color of gray. However, it contains an <SPAN class="two">inline element of class <TT>two</TT></SPAN>, which should result in no right padding, since negative padding values are not allowed, in the <STRONG>last</STRONG> line in which the inline box appears.
41 </P>
42 </TD></TR></TABLE></BODY>
43 </HTML>