Bug 221976

Summary: RenderElement::containingBlockForAbsolutePosition may call RenderObject::containingBlock recursively
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, changseok, esprehn+autocc, ews-watchlist, glenn, kondapallykalyan, pdr, simon.fraser, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description zalan 2021-02-16 10:55:09 PST
when the RenderInline is absolute positioned (which should not happen normally as we blockify out of flow boxes)
Comment 1 zalan 2021-02-16 10:55:38 PST
<rdar://problem/72775667>
Comment 2 zalan 2021-02-16 11:11:47 PST
Created attachment 420500 [details]
Patch
Comment 3 Simon Fraser (smfr) 2021-02-16 11:15:31 PST
Comment on attachment 420500 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=420500&action=review

> Source/WebCore/ChangeLog:9
> +        When a RenderInline (incorrectly) happens to be absolute positioned, containingBlockForAbsolutePosition() calls containingBlock()

Do we know why this happens? Should we assert when it does?
Comment 4 zalan 2021-02-16 13:43:34 PST
Created attachment 420534 [details]
Patch
Comment 5 EWS 2021-02-16 14:55:58 PST
Committed r272931: <https://commits.webkit.org/r272931>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 420534 [details].