| 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.4 first-letter</TITLE> | 4 <TITLE>CSS1 Test Suite: 2.4 first-letter</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-letter {color: maroon;} | 11 P:first-letter {color: maroon;} |
| 11 .two:first-letter {font-size: 200%;} | 12 .two:first-letter {font-size: 200%;} |
| 12 P.three:first-letter {font-size: 350%;} | 13 P.three:first-letter {font-size: 350%;} |
| 13 </STYLE> | 14 </STYLE> |
| 14 | 15 |
| 15 </HEAD> | 16 </HEAD> |
| 16 | 17 |
| 17 <BODY><P>The style declarations which apply to the text below are:</P> | 18 <BODY><P>The style declarations which apply to the text below are:</P> |
| 18 <PRE>P:first-letter {color: maroon;} | 19 <PRE>P:first-letter {color: maroon;} |
| (...skipping 23 matching lines...) Expand all Loading... |
| 42 The first letter of this paragraph, and only that one, should be maroon. If thi
s 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 display
ed on more than one line. | 43 The first letter of this paragraph, and only that one, should be maroon. If thi
s 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 display
ed on more than one line. |
| 43 </P> | 44 </P> |
| 44 <P class="two"> | 45 <P class="two"> |
| 45 The first letter of this paragraph, and only that one, should be a larger font s
ize, as well as maroon. If this precise combination does not occur, then the us
er agent has failed this test. Remember that in order to ensure a complete test
, the paragraph must be displayed on more than one line. | 46 The first letter of this paragraph, and only that one, should be a larger font s
ize, as well as maroon. If this precise combination does not occur, then the us
er agent has failed this test. Remember that in order to ensure a complete test
, the paragraph must be displayed on more than one line. |
| 46 </P> | 47 </P> |
| 47 <P class="three"> | 48 <P class="three"> |
| 48 "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. Note that this is not required un
der CSS1, but it is recommended. | 49 "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. Note that this is not required un
der CSS1, but it is recommended. |
| 49 </P> | 50 </P> |
| 50 </TD></TR></TABLE></BODY> | 51 </TD></TR></TABLE></BODY> |
| 51 </HTML> | 52 </HTML> |
| OLD | NEW |