Bug 221976 - RenderElement::containingBlockForAbsolutePosition may call RenderObject::containingBlock recursively
Summary: RenderElement::containingBlockForAbsolutePosition may call RenderObject::cont...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
Keywords: InRadar
Depends on:
Reported: 2021-02-16 10:55 PST by zalan
Modified: 2021-02-16 14:56 PST (History)
9 users (show)

See Also:

Patch (3.29 KB, patch)
2021-02-16 11:11 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (3.34 KB, patch)
2021-02-16 13:43 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 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
Comment 2 zalan 2021-02-16 11:11:47 PST
Created attachment 420500 [details]
Comment 3 Simon Fraser (smfr) 2021-02-16 11:15:31 PST
Comment on attachment 420500 [details]

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]
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].