Bug 307884

Summary: Split computeOverflow() into in-flow and out-of-flow methods so that we can run out-of-flow layout in between
Product: WebKit Reporter: fantasai <fantasai.bugs>
Component: Layout and RenderingAssignee: fantasai <fantasai.bugs>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 291864    

fantasai
Reported 2026-02-13 18:36:35 PST
Fixing bug 291864 ([css-anchor-position-1] position-area for scrollable containing blocks should use entire scrollable area, not just the initial scrollport bounds) requires us to know the scrollable content area bounds before we do abspos layout. Unfortunately this is currently computed together with the overflow of out-of-flow boxes after both in-flow and out-of-flow layout is completed, so we need to split apart that method so that we can get the in-flow overflow computed before out-of-flow layout, and then update to include out-of-flow overflow once out-of-flow layout is completed. Since this is essentially a no-op refactor, we're filing it as an independent PR to make it easier to review and test.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-13 18:36:41 PST
fantasai
Comment 2 2026-02-13 18:40:44 PST
EWS
Comment 3 2026-02-14 12:12:45 PST
Committed 307586@main (dc39a4f07c92): <https://commits.webkit.org/307586@main> Reviewed commits have been landed. Closing PR #58187 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.