[webkit-changes] [WebKit/WebKit] aec79a: [IFC][Intrinsic width] Decouple min/max computatio...
Alan Baradlay
noreply at github.com
Thu Nov 30 21:54:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: aec79a782fab6c8abade250cf4431231d3ece803
https://github.com/WebKit/WebKit/commit/aec79a782fab6c8abade250cf4431231d3ece803
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-11-30 (Thu, 30 Nov 2023)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h
M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
Log Message:
-----------
[IFC][Intrinsic width] Decouple min/max computation in InlineFormattingContext
https://bugs.webkit.org/show_bug.cgi?id=265527
Reviewed by Antti Koivisto.
This is in preparation for being able to compute min/max sizes on non-text only content where
we would pre-compute the inline level box min/max sized (running regular render tree min/max code)
followed by IFC's min/max computation while switching between these pre-computed geometries (this is exactly how regular integration based layout works).
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::minimumContentSize):
(WebCore::Layout::InlineFormattingContext::maximumContentSize):
(WebCore::Layout::InlineFormattingContext::computedIntrinsicSizes): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::computeIntrinsicWidthConstraints):
Canonical link: https://commits.webkit.org/271369@main
More information about the webkit-changes
mailing list