Bug 246229 - [css-flexbox] Use initial scroll position when computing baseline of a box
Summary: [css-flexbox] Use initial scroll position when computing baseline of a box
Status: RESOLVED FIXED
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: 2022-10-07 12:37 PDT by Sammy Gill
Modified: 2023-05-11 10:13 PDT (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 2022-10-07 12:37:34 PDT
RenderFlexibleBox::layoutAndPlaceChildren has a FIXME that stems from a Blink merge (https://bugs.webkit.org/show_bug.cgi?id=168657). It is not clear what it refers to, but I believe it is the following from the CSS Align 3 spec: 

For the purposes of finding the baselines of a box, it and all its in-flow descendants with a scrolling mechanism (see the overflow property) must be considered as if scrolled to their initial scroll position. Furthermore, if, in the case of a scroll container box, the resulting position of a first/last baseline is past a box’s end/start border edge, its position is clamped to that border edge.

https://www.w3.org/TR/css-align-3/#baseline-rules

Should figure out if this is actually what it refers to or if it is some other issue
Comment 1 Radar WebKit Bug Importer 2022-10-07 12:37:58 PDT
<rdar://problem/100908615>
Comment 2 Sammy Gill 2023-05-01 16:22:48 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13343
Comment 3 EWS 2023-05-11 10:13:48 PDT
Committed 263974@main (1e66b0fc9545): <https://commits.webkit.org/263974@main>

Reviewed commits have been landed. Closing PR #13343 and removing active labels.