Bug 234939

Summary: [Cleanup] RenderElement::containingBlockFor*(fixed/absolute/inflow)Position is slightly confusing
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cdumez, changseok, cmarcelo, esprehn+autocc, ews-watchlist, glenn, kangil.han, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>