Test for Bugzilla
Bug 80794: :first-line pseudo selector ignoring words created from :before.
The :first-line pseudo-element style is not applied to content generated from :before/:after pseudo-elements.
In the following paragraph the first-letter should be displayed in blue color and the first-line in green color including the words 'The first line'. This test verifies the behavior with :before style specified on a block flow element.
The first line of this paragraph should be displayed in green color.
In the following paragraph the first-letter should be displayed in blue color and the first-line in green color including the words 'The first line'. This test verifies the behavior with :before style specified on an inline element.
The first line of this paragraph should be displayed in green color.
In the following paragraph the first-letter should be displayed in blue color and the first-line in green color including the words 'in green color.'. This test verifies the behavior with :after style specified on a block flow element.
Display in green color.
In the following paragraph the first-letter should be displayed in blue color and the first-line in green color including the words 'in green color.'. This test verifies the behavior with :after style specified on an inline element.
Display in green color.