v139 ยท css
Support font-feature-settings descriptor in @font-face rule
As CSS allows fine control over font features using 'font-feature-settings' at the element level, Chromium-based browsers currently lack support for these properties within '@font-face' declarations.
concepts
-
@font-face Descriptor
Bake font-feature-settings into the @font-face rule itself. The feature flags apply automatically wherever the family is used, instead of requiring authors to repeat them on every selector.
-
Design System
The motivating case from the spec: a brand typography system with stylistic alternates. Pre-v139 every selector repeated the same
font-feature-settings; v139 inherits them from the family. -
Font Alias Variants
Register the same typeface under multiple
font-familynames with differentfont-feature-settingsbaked into each. Components reference the alias rather than managing feature tags โ small-caps, lining numerals, and combined variants all side by side. -
Numerals & Figures Lab
Three named families baked from one system font: tabular nums for an accounting table, oldstyle nums for editorial prose, scientific superscripts for footnotes. Side-by-side with an unstyled control.
why it shipped
CSS already provides a 'font-feature-settings' property for controlling OpenType features at the element level. However, Chromium does not currently support it within @font-face declarations, unlike Firefox and Safari.