xxx-large font size
- Category
- CSS
- Type
- New or changed feature
- Status
- Proposed (Chrome Proposed)
- Intent stage
- Evaluate readiness to ship
WPT details: The feature will be covered by parsing and behavior tests.
Summary
Adds the xxx-large keyword, which specifies an absolute font size. This is a standards-based alternative to <font size="7"> and a replacement for vendor-prefixed keywords like -webkit-xxx-large.
Motivation
Standards & signals
- Specification: https://www.w3.org/TR/css-fonts-4/#font-size-prop
- Firefox: Positive — emilio "So it seems reasonable to just not make it magic and unprefix to me"
- Safari: Positive — myles "It's useful."
- Web developers: No signals
- Tracking bug: https://bugs.chromium.org/p/chromium/issues/detail?id=966249
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=xxx-large-font-size
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+xxx-large%20font%20size
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=xxx-large%20font%20size
- Baseline status: https://webstatus.dev/?q=xxx-large%20font%20size
Docs: https://drafts.csswg.org/css-fonts-4/#valdef-font-size-absolute-size
Explainers: https://drafts.csswg.org/css-fonts-4/#valdef-font-size-absolute-size