Bug 246229
Summary: | [css-flexbox] Use initial scroll position when computing baseline of a box | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
Component: | Layout and Rendering | Assignee: | Sammy Gill <sgill26> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Sammy Gill
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/100908615>
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/13343
EWS
Committed 263974@main (1e66b0fc9545): <https://commits.webkit.org/263974@main>
Reviewed commits have been landed. Closing PR #13343 and removing active labels.