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: 2.6 Multiple Pseudo-Elements</TITLE> | 4 <TITLE>CSS1 Test Suite: 2.6 Multiple Pseudo-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:first-line {color: green;} | 11 P:first-line {color: green;} |
11 P:first-letter {color: maroon;} | 12 P:first-letter {color: maroon;} |
12 .two:first-line {font-size: 200%;} | 13 .two:first-line {font-size: 200%;} |
13 .two:first-letter {font-size: 350%;} | 14 .two:first-letter {font-size: 350%;} |
14 P.three:first-letter {font-size: 350%;} | 15 P.three:first-letter {font-size: 350%;} |
15 P.three:first-line {font-variant: small-caps;} | 16 P.three:first-line {font-variant: small-caps;} |
16 </STYLE> | 17 </STYLE> |
17 | 18 |
18 </HEAD> | 19 </HEAD> |
(...skipping 29 matching lines...) Expand all Loading... |
48 The first letter of this paragraph, and only that one, should be maroon (dark re
d), while the entire first line should be green. If this precise combination do
es not occur, then the user agent has failed this test. Remember that in order
to ensure a complete test, the paragraph must be displayed on more than one line
. | 49 The first letter of this paragraph, and only that one, should be maroon (dark re
d), while the entire first line should be green. If this precise combination do
es not occur, then the user agent has failed this test. Remember that in order
to ensure a complete test, the paragraph must be displayed on more than one line
. |
49 </P> | 50 </P> |
50 <P class="two"> | 51 <P class="two"> |
51 The first letter of this paragraph, and only that one, should be 350% bigger tha
n the rest of the first line of this paragraph and maroon (dark red), while the
entire first line should be 200% bigger than normal and green. If this precise
combination does not occur, then the user agent has failed this test. Remember
that in order to ensure a complete test, the paragraph must be displayed on more
than one line. | 52 The first letter of this paragraph, and only that one, should be 350% bigger tha
n the rest of the first line of this paragraph and maroon (dark red), while the
entire first line should be 200% bigger than normal and green. If this precise
combination does not occur, then the user agent has failed this test. Remember
that in order to ensure a complete test, the paragraph must be displayed on more
than one line. |
52 </P> | 53 </P> |
53 <P class="three"> | 54 <P class="three"> |
54 "We should check for quotation support," it was said. The first two characters
in this paragraph-- a double-quote mark and a capital 'W'-- should be 350% bigge
r than the rest of the paragraph, and maroon (dark red). Note that the inclusio
n of both the quotation mark and the 'W' in the first-letter style is not requir
ed under CSS1, but it is recommended. In addition, the entire first line should
be in a small-caps font and green. | 55 "We should check for quotation support," it was said. The first two characters
in this paragraph-- a double-quote mark and a capital 'W'-- should be 350% bigge
r than the rest of the paragraph, and maroon (dark red). Note that the inclusio
n of both the quotation mark and the 'W' in the first-letter style is not requir
ed under CSS1, but it is recommended. In addition, the entire first line should
be in a small-caps font and green. |
55 </P> | 56 </P> |
56 </TD></TR></TABLE></BODY> | 57 </TD></TR></TABLE></BODY> |
57 </HTML> | 58 </HTML> |
OLD | NEW |