CSS2 Test Suite: 5.12.2 :first-letter

[index page] [section] [Previous] [Next] [Specification]

The style declarations contained within this page:

P:first-letter {color: maroon;}
.cl2:first-letter {font-size: 200%;}
P.cl3:first-letter {font-size: 350%;}


The first letter of this paragraph, and only that one, should be maroon. 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.

The first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. 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. [cl2]

"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% bigger than the rest of the paragraph, and maroon. Note that this is not required under CSS1, but it is recommended. [cl3]


[index page] [section] [Previous] [Next] [Specification]