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: 4.2 Inline Elements</TITLE> | 4 <TITLE>CSS1 Test Suite: 4.2 Inline Elements</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 P.one {line-height: 200%;} | 11 P.one {line-height: 200%;} |
11 SPAN.two {border-style: solid; border-width: 10px; border-color: red; | 12 SPAN.two {border-style: solid; border-width: 10px; border-color: red; |
12 padding: 2pt; margin: 30pt;} | 13 padding: 2pt; margin: 30pt;} |
13 P.three {font-size: 10pt; line-height: 12pt;} | 14 P.three {font-size: 10pt; line-height: 12pt;} |
14 SPAN.four {border-style: solid; border-width: 12px; border-color: red; | 15 SPAN.four {border-style: solid; border-width: 12px; border-color: red; |
15 padding: 2pt;} | 16 padding: 2pt;} |
16 </STYLE> | 17 </STYLE> |
17 | 18 |
18 </HEAD> | 19 </HEAD> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 <P CLASS="three">This is a paragraph that has a <SPAN CLASS="four">very | 69 <P CLASS="three">This is a paragraph that has a <SPAN CLASS="four">very |
69 long span in it, and the span has a 12px red border separated from the | 70 long span in it, and the span has a 12px red border separated from the |
70 span by 2pt of padding (the difference between the line-height and the | 71 span by 2pt of padding (the difference between the line-height and the |
71 font-size), which should overlap with the lines of text above and below | 72 font-size), which should overlap with the lines of text above and below |
72 the span, since the padding and border should not effect the line | 73 the span, since the padding and border should not effect the line |
73 height. The span's border should have vertical lines only at the | 74 height. The span's border should have vertical lines only at the |
74 beginning and end of the whole span, not on each line.</SPAN> The line | 75 beginning and end of the whole span, not on each line.</SPAN> The line |
75 spacing in the whole paragraph should be 12pt, with font-size 10pt.</P> | 76 spacing in the whole paragraph should be 12pt, with font-size 10pt.</P> |
76 </TD></TR></TABLE></BODY> | 77 </TD></TR></TABLE></BODY> |
77 </HTML> | 78 </HTML> |
OLD | NEW |