-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 260286.14@webkit-2023.2-embargoed (0888aab). https://bugs…
….webkit.org/show_bug.cgi?id=245374 Improve isInsideMulticolumnFlow lambda for top-layer elements https://bugs.webkit.org/show_bug.cgi?id=245374 Reviewed by Alan Baradlay. Improve isInsideMulticolumnFlow lambda for top-layer elements. Top-layer elements can skip many ancestors since the containing block is the RenderView. So instead of checking the fragmentedFlowRoot boundary, check the containing block fragmented flow state. * Source/WebCore/rendering/RenderObject.cpp: (WebCore::RenderObject::setFragmentedFlowStateIncludingDescendants): (WebCore::RenderObject::initializeFragmentedFlowStateOnInsertion): (WebCore::RenderObject::resetFragmentedFlowStateOnRemoval): * Source/WebCore/rendering/RenderObject.h: Canonical link: https://commits.webkit.org/260286.14@webkit-2023.2-embargoed Canonical link: https://commits.webkit.org/263022.6@webkit-2023.4-embargoed
- Loading branch information
1 parent
dc79809
commit 8efd98e
Showing
2 changed files
with
7 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters