← Back to release summary

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

Ecosystem

View on chromestatus.com