Bug 234939 - [Cleanup] RenderElement::containingBlockFor*(fixed/absolute/inflow)Position is slightly confusing
Summary: [Cleanup] RenderElement::containingBlockFor*(fixed/absolute/inflow)Position i...
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: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-06 16:11 PST by zalan
Modified: 2022-01-07 07:10 PST (History)
14 users (show)

See Also:


Attachments
Patch (14.92 KB, patch)
2022-01-06 16:57 PST, zalan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zalan 2022-01-06 16:11:13 PST
The renderer is already has a containingBlock() function which returns the correct containing block. This function is "let's pretend if the renderer was absolute/fixed/inflow positioned, what would the containing block be".
Comment 1 zalan 2022-01-06 16:57:05 PST
Created attachment 448547 [details]
Patch
Comment 2 EWS 2022-01-07 07:09:08 PST
Committed r287744 (245814@main): <https://commits.webkit.org/245814@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 448547 [details].
Comment 3 Radar WebKit Bug Importer 2022-01-07 07:10:22 PST
<rdar://problem/87249623>