WPT
wpt / css / css-pseudo / first-line-allowed-properties.html
Spec: CSS Pseudo-Elements ↗
Runs: Chrome 155.0.8043.0 (wpt@b89af32bc, 2026-09-05) | Firefox 157.0a1 (wpt@b89af32bc, 2026-09-05) | Safari 251 preview (wpt@b89af32bc, 2026-09-05) | Ladybird 1.0-f437c (wpt@b89af32bc, 2026-09-06) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 112/112 | 109/112 | 47/112 | 28/112 | 0/112 | 0/112 |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| retrieve style rule | PASS | PASS | PASS | PASS | FAIL | FAIL |
| backgroundAttachment should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| backgroundBlendMode should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundClip should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundColor should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundImage should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundOrigin should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundPosition should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundRepeat should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| backgroundSize should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| color should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontFamily should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontFeatureSettings should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontKerning should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontSize should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontSizeAdjust should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontStyle should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontVariant should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontWeight should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| fontVariationSettings should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| letterSpacing should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| opacity should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| textDecoration should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| textJustify should be applied to first-line pseudo elements (display:block) | PASS | FAIL | FAIL | FAIL | FAIL | FAIL |
| textShadow should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| textTransform should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| textUnderlinePosition should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| verticalAlign should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| wordSpacing should be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| border should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| borderImage should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| borderRadius should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| margin should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| padding should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| position should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| transition should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| transform should not be applied to first-line pseudo elements (display:block) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| wordBreak should not be applied to first-line pseudo elements (display:block) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| backgroundAttachment should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| backgroundBlendMode should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundClip should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundColor should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundImage should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundOrigin should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundPosition should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundRepeat should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundSize should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| color should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontFamily should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontFeatureSettings should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontKerning should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontSize should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontSizeAdjust should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontStyle should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontVariant should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontWeight should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontVariationSettings should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| letterSpacing should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| opacity should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textDecoration should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textJustify should be applied to first-line pseudo elements (display:inline) | PASS | FAIL | FAIL | FAIL | FAIL | FAIL |
| textShadow should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textTransform should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textUnderlinePosition should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| verticalAlign should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| wordSpacing should be applied to first-line pseudo elements (display:inline) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| border should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| borderImage should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| borderRadius should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| margin should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| padding should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| position should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| transition should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| transform should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| wordBreak should not be applied to first-line pseudo elements (display:inline) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| backgroundAttachment should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | PASS | FAIL | FAIL |
| backgroundBlendMode should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundClip should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundColor should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundImage should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundOrigin should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundPosition should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundRepeat should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| backgroundSize should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| color should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontFamily should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontFeatureSettings should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontKerning should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontSize should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontSizeAdjust should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontStyle should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontVariant should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontWeight should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| fontVariationSettings should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| letterSpacing should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| opacity should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textDecoration should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textJustify should be applied to first-line pseudo elements (display:flex) | PASS | FAIL | FAIL | FAIL | FAIL | FAIL |
| textShadow should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textTransform should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| textUnderlinePosition should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| verticalAlign should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| wordSpacing should be applied to first-line pseudo elements (display:flex) | PASS | PASS | FAIL | FAIL | FAIL | FAIL |
| border should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | FAIL | FAIL | FAIL |
| borderImage should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| borderRadius should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| margin should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| padding should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| position should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| transition should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| transform should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |
| wordBreak should not be applied to first-line pseudo elements (display:flex) | PASS | PASS | PASS | PASS | FAIL | FAIL |