blob: 1d6bdfb5dbf42813a4a430fab6419733c43fd5ef [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>CSS1 Test Suite: 5.5.07 padding-right</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META http-equiv="Content-Style-Type" content="text/css">
<LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
<STYLE type="text/css">
.one {padding-right: 25px; text-align: right; background-color: aqua;}
.two {padding-right: -10px; text-align: right; background-color: aqua;}
</STYLE>
</HEAD>
<BODY><P>The style declarations which apply to the text below are:</P>
<PRE>.one {padding-right: 25px; text-align: right; background-color: aqua;}
.two {padding-right: -10px; text-align: right; background-color: aqua;}
</PRE>
<HR>
<P style="background-color: gray;">
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.
</P>
<P style="background-color: gray;">
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.
</P>
<TABLE border cellspacing="0" cellpadding="3" class="tabletest">
<TR>
<TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
</TR>
<TR>
<TD bgcolor="silver">&nbsp;</TD>
<TD><P style="background-color: gray;">
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.
</P>
<P style="background-color: gray;">
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.
</P>
</TD></TR></TABLE></BODY>
</HTML>