Bug 260081 - [css-flex][baseline-alignment] RenderFlexibleBox getBaselineChild needs to take into consideration flex line structure
Summary: [css-flex][baseline-alignment] RenderFlexibleBox getBaselineChild needs to ta...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sammy Gill
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-11 12:38 PDT by Sammy Gill
Modified: 2024-01-02 15:28 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sammy Gill 2023-08-11 12:38:48 PDT
https://drafts.csswg.org/css-flexbox-1/#flex-baselines

The current implementation of getBaselineChild does not take into consideration the writing mode or flex direction when determining which flex item to use for the flex container's baseline. This leads to many failures in the css/css-flexbox/alignment/flex-align-baseline-flex-* WPT tests. This bugzilla issue should serve as an umbrella for all of the incremental patches that will be added to rework the function implementation to more closely align to the spec.
Comment 1 Radar WebKit Bug Importer 2023-08-11 12:39:09 PDT
<rdar://problem/113765715>
Comment 2 Sammy Gill 2024-01-02 15:28:01 PST
Renaming the bug to mention that we should be using the flex line structure instead since that's really the central issue in the code