3.107 first-line-inherit-002

Expected results

There should be no red.

Actual results

IE8 Mode, IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

The background color of the two span elements is red.

The test fails because elements contained within a parent of a :first-line pseudo-element incorrectly inherit from the parent element instead of the :first-line pseudo-element.

Related Variation

Section 2.1.22, V0018