CSS1 Test Suite: 2.4 first-letter


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 11 May 1998

The style declarations which apply to the text below are:

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


The first letter of this paragraph, and only that one, should be maroon. Thus, if the first letter is not dark red, OR if the entire paragraph turns out dark red, then this user agent has failed this test.

The first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. Thus, if the first letter is not dark red and larger, OR if the entire paragraph turns out dark red and larger, then this user agent has failed this test.

"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.

The first letter of this paragraph, and only that one, should be maroon. Thus, if the first letter is not dark red, OR if the entire paragraph turns out dark red, then this user agent has failed this test.

The first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. Thus, if the first letter is not dark red and larger, OR if the entire paragraph turns out dark red and larger, then this user agent has failed this test.

"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.


[Previous] [Next] [Section] [Contents] [Specification]