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 Rendering | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/170364335>
fantasai
Pull request: https://github.com/WebKit/WebKit/pull/58187
EWS
Committed 307586@main (dc39a4f07c92): <https://commits.webkit.org/307586@main>
Reviewed commits have been landed. Closing PR #58187 and removing active labels.