OLD | NEW |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org
/TR/REC-html40/loose.dtd"> |
2 <HTML> | 2 <HTML> |
3 <HEAD> | 3 <HEAD> |
4 <TITLE>CSS1 Test Suite: 5.5.06 padding-top</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.06 padding-top</TITLE> |
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | 5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 <META http-equiv="Content-Style-Type" content="text/css"> | 6 <META http-equiv="Content-Style-Type" content="text/css"> |
7 | 7 |
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> | 8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.cs
s"> |
| 9 <SCRIPT src="../resources/base.js"></SCRIPT> |
9 <STYLE type="text/css"> | 10 <STYLE type="text/css"> |
10 .zero {background-color: silver; padding-top: 0;} | 11 .zero {background-color: silver; padding-top: 0;} |
11 .one {padding-top: 0.5in; background-color: aqua;} | 12 .one {padding-top: 0.5in; background-color: aqua;} |
12 .two {padding-top: 25px; background-color: aqua;} | 13 .two {padding-top: 25px; background-color: aqua;} |
13 .three {padding-top: 5em; background-color: aqua;} | 14 .three {padding-top: 5em; background-color: aqua;} |
14 .four {padding-top: 25%; background-color: aqua;} | 15 .four {padding-top: 25%; background-color: aqua;} |
15 .five {padding-top: -20px; background-color: aqua;}</STYLE> | 16 .five {padding-top: -20px; background-color: aqua;}</STYLE> |
16 | 17 |
17 </HEAD> | 18 </HEAD> |
18 | 19 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 This element should have a top padding of 5 em, which will require extra text in
order to test. Both the content background and the padding should be aqua (lig
ht blue). | 65 This element should have a top padding of 5 em, which will require extra text in
order to test. Both the content background and the padding should be aqua (lig
ht blue). |
65 </P> | 66 </P> |
66 <P class="four"> | 67 <P class="four"> |
67 This element should have a top padding of 25%, which is calculated with respect
to the width of the parent element. Both the content background and the padding
should be aqua (light blue). This will require extra text in order to test. | 68 This element should have a top padding of 25%, which is calculated with respect
to the width of the parent element. Both the content background and the padding
should be aqua (light blue). This will require extra text in order to test. |
68 </P> | 69 </P> |
69 <P class="five"> | 70 <P class="five"> |
70 This element should have no top padding, since negative padding values are not a
llowed. Both the content background and the normal padding should be aqua (ligh
t blue). | 71 This element should have no top padding, since negative padding values are not a
llowed. Both the content background and the normal padding should be aqua (ligh
t blue). |
71 </P> | 72 </P> |
72 </TD></TR></TABLE></BODY> | 73 </TD></TR></TABLE></BODY> |
73 </HTML> | 74 </HTML> |
OLD | NEW |