Last Baseline Content Alignment
- Category
- CSS
- Type
- Chromium catches up
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
WPT details: There are already tests covering the "align-content: last-baseline", mainly for block containers, but also for grid. https://wpt.fyi/results/css?label=master&label=experimental&aligned&view=subtest&q=align-content-block%20or%20last-baseline%20or%20content-baseline%20or%20item-mixed-baseline More tests will be added to properly support the feature in grid and flex.
Summary
This feature allows developers to align the content of the boxes participating in row-like shared context by their last baseline, instead of their first. This is done via the following property: align-content last baseline; /* Table cells, Flex items or grid items */
Motivation
Both Firefox and Safari already implements this feature, as it's shown in the wpt.fyi tests dashboard, hence this is an interoperability issue. Additionally, Chrome already supports it for block containers, but it's disabled at parsing time because of the lack of implementation for grid and flex items.
Standards & signals
- Specification: https://www.w3.org/TR/css-align-3/#baseline-align-content
- Firefox: Shipped/Shipping
- Safari: Shipped/Shipping — Implemented support for align-content on block containers; difficult to say from the release notes how well the Baseline Content-Alignment is supported, though. It shows "partial support" in "can-i-use" [1], mainly due to partial implementation for flex and grid [2] [1] https://caniuse.com/mdn-css_properties_align-content_flex_context_last_baseline [2] https://bugs.webkit.org/show_bug.cgi?id=235005
- Web developers: Positive — This has been marked as one of the interop-2025 issues to work on.
- Tracking bug: https://issues.chromium.org/issues/341947689
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=align-content-block%20or%20last-baseline%20or%20content-baseline%20or%20item-mixed-baseline
- 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+Last%20Baseline%20Content%20Alignment
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Last%20Baseline%20Content%20Alignment
- Baseline status: https://webstatus.dev/?q=Last%20Baseline%20Content%20Alignment