Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 675e4eb6f1e268b47b19b9a792c3c2b68336e19c
https://github.com/WebKit/WebKit/commit/675e4eb6f1e268b47b19b9a792c3c2b68336e19c
Author: Frédéric Wang <[email protected]>
Date: 2022-10-21 (Fri, 21 Oct 2022)
Changed paths:
M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp
Log Message:
-----------
Make dropAnonymousBoxChild rely on moveAllChildrenToInternal
https://bugs.webkit.org/show_bug.cgi?id=246846
Reviewed by Alan Bujtas.
This is a follow-up of [1] and [2].
* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::removeAnonymousWrappersForInlineChildrenIfNeeded):
Setting the internal move flag is no longer necessary since we instead rely
on moveAllChildrenToInternal.
* Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp:
(WebCore::RenderTreeBuilder::Block::dropAnonymousBoxChild): Rely on
moveAllChildrenToInternal to move the children from child to parent. The
child is detached after the moves, so that it can be used as the beforeChild,
instead of nextSibling.
[1] https://bugs.webkit.org/show_bug.cgi?id=230896
[2] https://bugs.webkit.org/show_bug.cgi?id=242734
Canonical link: https://commits.webkit.org/255822@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes