Styling generated content using ::first-line

This tests uses the ::before pseudo-element to inject content into the page that breaks on to two lines. The ::first-line pseudo element is then used to style the first line of that content.

Example

The first line of this block should be green. The other lines should be red.