CSS1 Test Suite: 2.3 first-line


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

The style declarations which apply to the text below are:

P:first-line {color: green;}
.two:first-line {font-size: 200%;}
.three:first-line {font-variant: small-caps;}


The first line of this paragraph, and only that one, should be green. Thus, if the first line is not green, OR if the entire paragraph turns out green, then this user agent has failed this test. This is extra text included for the purposes of making the paragraph long enough to have more than one line.

The first line of this paragraph, and only that one, should be a larger font size as well as green. Thus, if the first line is not larger, OR if the entire paragraph turns out larger, then this user agent has failed this test. This is extra text included for the purposes of making the paragraph long enough to have more than one line.

The first line of this paragraph, and only that one, should be displayed in small-caps style. Thus, if the first line is not in small-caps style, OR if the entire paragraph turns out in small-caps, then this user agent has failed this test (although the problem might be that small-caps is not supported by your browser). This is extra text included for the purposes of making the paragraph long enough to have more than one line.

The first line of this paragraph, and only that one, should be green. Thus, if the first line is not green, OR if the entire paragraph turns out green, then this user agent has failed this test. This is extra text included for the purposes of making the paragraph long enough to have more than one line.

The first line of this paragraph, and only that one, should be a larger font size as well as green. Thus, if the first line is not larger, OR if the entire paragraph turns out larger, then this user agent has failed this test. This is extra text included for the purposes of making the paragraph long enough to have more than one line.

The first line of this paragraph, and only that one, should be displayed in small-caps style. Thus, if the first line is not in small-caps style, OR if the entire paragraph turns out in small-caps, then this user agent has failed this test (although the problem might be that small-caps is not supported by your browser). This is extra text included for the purposes of making the paragraph long enough to have more than one line.


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