Open
Description
Currently CSS Pseudo-Elements Module specifies for ::fist-letter
and ::fisrt-line
that:
The following properties apply to ::first-letter, ::first-letter::prefix, and ::first-letter::postfix pseudo-elements:
- all font properties (see [CSS-FONTS-3]) […]
and:
The following CSS properties apply to a ::first-line pseudo-element:
- all font properties (see [CSS-FONTS-3]) […]
This phrasing exludes properties added in CSS Fonts Level 4, e.g. font-palette
and font-variant-emoji
, from being applied to ::fist-letter
and ::fist-line
. Is this really intended?
Also, there's no WPT for this:
https://wpt.fyi/results/css/css-pseudo/first-letter-allowed-properties.html?label=experimental&label=master&aligned&view=subtest
https://wpt.fyi/results/css/css-pseudo/first-line-allowed-properties.html?label=experimental&label=master&aligned&view=subtest