| 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.10 padding</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.5.10 padding</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: 0;} | 11 .zero {background-color: silver; padding: 0;} |
| 11 .one {padding: 0.5in; background-color: aqua;} | 12 .one {padding: 0.5in; background-color: aqua;} |
| 12 .two {padding: 25px; background-color: aqua;} | 13 .two {padding: 25px; background-color: aqua;} |
| 13 .three {padding: 5em; background-color: aqua;} | 14 .three {padding: 5em; background-color: aqua;} |
| 14 .four {padding: 25%; background-color: aqua;} | 15 .four {padding: 25%; background-color: aqua;} |
| 15 .five {padding: -20px; background-color: aqua;}</STYLE> | 16 .five {padding: -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 an overall padding of 5 em, which will require extra te
xt in order to test. Both the content background and the padding should be aqua
(light blue). | 65 This element should have an overall padding of 5 em, which will require extra te
xt in order to test. Both the content background and the padding should be aqua
(light blue). |
| 65 </P> | 66 </P> |
| 66 <P class="four"> | 67 <P class="four"> |
| 67 This element should have an overall padding of 25%, which is calculated with res
pect to the width of the parent element. Both the content background and the pa
dding should be aqua (light blue). | 68 This element should have an overall padding of 25%, which is calculated with res
pect to the width of the parent element. Both the content background and the pa
dding should be aqua (light blue). |
| 68 </P> | 69 </P> |
| 69 <P class="five"> | 70 <P class="five"> |
| 70 This element should have no padding, since negative padding values are not allow
ed. Both the content background and the normal padding should be aqua (light bl
ue). | 71 This element should have no padding, since negative padding values are not allow
ed. Both the content background and the normal padding should be aqua (light bl
ue). |
| 71 </P> | 72 </P> |
| 72 </TD></TR></TABLE></BODY> | 73 </TD></TR></TABLE></BODY> |
| 73 </HTML> | 74 </HTML> |
| OLD | NEW |