[webkit-changes] [WebKit/WebKit] a78397: [LFC][Cleanup] Use containingBlockChain instead of...
alan
noreply at github.com
Tue Sep 20 14:08:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a78397ae9b5cfa11f547a4be14e2275c58dd0dfe
https://github.com/WebKit/WebKit/commit/a78397ae9b5cfa11f547a4be14e2275c58dd0dfe
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-20 (Tue, 20 Sep 2022)
Changed paths:
M Source/WebCore/layout/LayoutState.cpp
M Source/WebCore/layout/floats/FloatingState.cpp
M Source/WebCore/layout/formattingContexts/FormattingQuirks.cpp
M Source/WebCore/layout/layouttree/LayoutContainingBlockChainIterator.h
Log Message:
-----------
[LFC][Cleanup] Use containingBlockChain instead of containingBlock() for loops
https://bugs.webkit.org/show_bug.cgi?id=245394
Reviewed by Antti Koivisto.
This is in preparation for removing Layout::Box::containingBlock().
* Source/WebCore/layout/LayoutState.cpp:
(WebCore::Layout::LayoutState::ensureInlineFormattingState):
* Source/WebCore/layout/floats/FloatingState.cpp:
(WebCore::Layout::FloatingState::FloatItem::isInFormattingContextOf const):
* Source/WebCore/layout/formattingContexts/FormattingQuirks.cpp:
(WebCore::Layout::FormattingQuirks::heightValueOfNearestContainingBlockWithFixedHeight const):
* Source/WebCore/layout/layouttree/LayoutContainingBlockChainIterator.h:
(WebCore::Layout::containingBlockChainWithinFormattingContext):
Canonical link: https://commits.webkit.org/254692@main
More information about the webkit-changes
mailing list