Bug 235005 - [css-flexbox][css-grid] Support last baseline
Summary: [css-flexbox][css-grid] Support last baseline
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 236959
  Show dependency treegraph
 
Reported: 2022-01-08 10:51 PST by Philip Jägenstedt
Modified: 2022-03-31 18:04 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philip Jägenstedt 2022-01-08 10:51:42 PST
The `last baseline` keyword for alignment properties (align-content, align-items, and align-self) is recognized by the parser but for both flex and grid layout, there are FIXMEs for actually supporting it:
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/rendering/RenderFlexibleBox.cpp?rev=287742#L1679
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/rendering/RenderGrid.cpp?rev=287742#L1437

Support for this in other browsers can be seen here:
https://developer.mozilla.org/en-US/docs/Web/CSS/align-content#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/CSS/align-items#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/CSS/align-self#browser_compatibility

Note that the data is a bit messy and also wrong in places, which is why I started looking into support across browsers and filed this bug.

https://crbug.com/885175 is the Chromium bug for this.
Comment 1 Radar WebKit Bug Importer 2022-01-15 10:52:16 PST
<rdar://problem/87640022>