Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2ace0f83b48a983dbe032421cc2d6eae8877b050
https://github.com/WebKit/WebKit/commit/2ace0f83b48a983dbe032421cc2d6eae8877b050
Author: Alan Baradlay <[email protected]>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
A LayoutTests/fast/inline/blocks-in-inline-float-crash-expected.html
A LayoutTests/fast/inline/blocks-in-inline-float-crash.html
M Source/WebCore/rendering/RenderBlockFlow.cpp
Log Message:
-----------
[blocks-in-inline] Fix
fast/block/float/float-not-removed-from-next-sibling5.html
https://bugs.webkit.org/show_bug.cgi?id=303590
Reviewed by Antti Koivisto.
Now with [blocks-in-inline] floating objects can be insider RenderBlocks with
RenderInline parents.
RenderBlockFlow::markAllDescendantsWithFloatsForLayout needs to look inside
RenderInlines
as opposed to iterating over direct block children.
Test: fast/inline/blocks-in-inline-float-crash.html
* LayoutTests/fast/inline/blocks-in-inline-float-crash-expected.html: Added.
* LayoutTests/fast/inline/blocks-in-inline-float-crash.html: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::markAllDescendantsWithFloatsForLayout):
Canonical link: https://commits.webkit.org/303961@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications