-
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.
[IFC][Intrinsic width] Decouple min/max computation in InlineFormatti…
…ngContext 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
- Loading branch information
1 parent
13c6cdd
commit aec79a7
Showing
3 changed files
with
32 additions
and
33 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
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