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.4.8 line-height</TITLE> | 4 <TITLE>CSS1 Test Suite: 5.4.8 line-height</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 .one {line-height: 0.5in; font-size: 12px;} | 11 .one {line-height: 0.5in; font-size: 12px;} |
11 .two {line-height: 2cm; font-size: 12px;} | 12 .two {line-height: 2cm; font-size: 12px;} |
12 .three {line-height: 20mm; font-size: 12px;} | 13 .three {line-height: 20mm; font-size: 12px;} |
13 .four {line-height: 24pt; font-size: 12px;} | 14 .four {line-height: 24pt; font-size: 12px;} |
14 .five {line-height: 2pc; font-size: 12px;} | 15 .five {line-height: 2pc; font-size: 12px;} |
15 .six {line-height: 2em; font-size: 12px;} | 16 .six {line-height: 2em; font-size: 12px;} |
16 .seven {line-height: 3ex; font-size: 12px;} | 17 .seven {line-height: 3ex; font-size: 12px;} |
17 .eight {line-height: 200%; font-size: 12px;} | 18 .eight {line-height: 200%; font-size: 12px;} |
18 .nine {line-height: 2; font-size: 12px;} | 19 .nine {line-height: 2; font-size: 12px;} |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 This paragraph should have a line-height of 50 pixels in the first section, whic
h should cause extra spacing between the lines. In the second section (within t
he table) its line-height should be normal. | 145 This paragraph should have a line-height of 50 pixels in the first section, whic
h should cause extra spacing between the lines. In the second section (within t
he table) its line-height should be normal. |
145 </P> | 146 </P> |
146 <P class="eleven"> | 147 <P class="eleven"> |
147 This sentence should have a normal line-height, because negative values are not
permitted for this property. | 148 This sentence should have a normal line-height, because negative values are not
permitted for this property. |
148 </P> | 149 </P> |
149 <P class="two"> | 150 <P class="two"> |
150 <SPAN class="color">This sentence should have a line-height of two centimeters,
which should cause extra spacing between the lines. The text has a background co
lor of silver, but no padding or border. The background color has been set on an
inline element and should therefore only cover the text, not the interline spac
ing.</SPAN> | 151 <SPAN class="color">This sentence should have a line-height of two centimeters,
which should cause extra spacing between the lines. The text has a background co
lor of silver, but no padding or border. The background color has been set on an
inline element and should therefore only cover the text, not the interline spac
ing.</SPAN> |
151 </P> | 152 </P> |
152 </TD></TR></TABLE></BODY> | 153 </TD></TR></TABLE></BODY> |
153 </HTML> | 154 </HTML> |
OLD | NEW |