[webkit-changes] [WebKit/WebKit] 893aee: [IFC][Cleanup] FormattingContext needs to hold on ...
Alan Baradlay
noreply at github.com
Sun Oct 1 21:43:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 893aeecc2f78575bd3ab8226f6e7099fe72fcc2b
https://github.com/WebKit/WebKit/commit/893aeecc2f78575bd3ab8226f6e7099fe72fcc2b
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-10-01 (Sun, 01 Oct 2023)
Changed paths:
M Source/WebCore/layout/floats/FloatingContext.cpp
M Source/WebCore/layout/formattingContexts/FormattingContext.cpp
M Source/WebCore/layout/formattingContexts/FormattingContext.h
M Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp
M Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.h
M Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.h
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h
M Source/WebCore/layout/formattingContexts/table/TableFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/table/TableFormattingContext.h
Log Message:
-----------
[IFC][Cleanup] FormattingContext needs to hold on to LayoutState only
https://bugs.webkit.org/show_bug.cgi?id=262444
Reviewed by Antti Koivisto.
This is in preparation for turning InlineFormattingState into a layout cache object, where
FormattingState stops being the base class of InlineFormattingState.
* Source/WebCore/layout/floats/FloatingContext.cpp:
(WebCore::Layout::FloatingContext::verticalPositionWithClearance const):
* Source/WebCore/layout/formattingContexts/FormattingContext.cpp:
(WebCore::Layout::FormattingContext::FormattingContext):
(WebCore::Layout::FormattingContext::layoutState):
(WebCore::Layout::FormattingContext::computeBorderAndPadding): Deleted.
* Source/WebCore/layout/formattingContexts/FormattingContext.h:
(WebCore::Layout::FormattingContext::formattingState const): Deleted.
(WebCore::Layout::FormattingContext::formattingState): Deleted.
* Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp:
(WebCore::Layout::FormattingGeometry::staticVerticalPositionForOutOfFlowPositioned const):
* Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.cpp:
(WebCore::Layout::BlockFormattingContext::BlockFormattingContext):
(WebCore::Layout::BlockFormattingContext::computeBorderAndPadding):
* Source/WebCore/layout/formattingContexts/block/BlockFormattingContext.h:
(WebCore::Layout::BlockFormattingContext::formattingState const):
(WebCore::Layout::BlockFormattingContext::formattingState):
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp:
(WebCore::Layout::FlexFormattingContext::FlexFormattingContext):
* Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.h:
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::InlineFormattingContext):
(WebCore::Layout::InlineFormattingContext::formattingState):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:
* Source/WebCore/layout/formattingContexts/table/TableFormattingContext.cpp:
(WebCore::Layout::TableFormattingContext::TableFormattingContext):
* Source/WebCore/layout/formattingContexts/table/TableFormattingContext.h:
Canonical link: https://commits.webkit.org/268717@main
More information about the webkit-changes
mailing list