[webkit-changes] [WebKit/WebKit] 3f4780: [LFC][IFC] Replace LayoutBoundsMetrics with TextMe...
Alan Baradlay
noreply at github.com
Wed Oct 26 05:53:41 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f478009756a01a6f03129614e4ae23b6fc19358
https://github.com/WebKit/WebKit/commit/3f478009756a01a6f03129614e4ae23b6fc19358
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-10-26 (Wed, 26 Oct 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h
Log Message:
-----------
[LFC][IFC] Replace LayoutBoundsMetrics with TextMetrics
https://bugs.webkit.org/show_bug.cgi?id=246963
Reviewed by Antti Koivisto.
This is in preparation for supporting line-box-contain.
(TextMetrics is input to layout bounds computation.)
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::primaryFontMetricsForInlineBox):
(WebCore::Layout::LineBoxBuilder::setLayoutBounds const):
(WebCore::Layout::LineBoxBuilder::setAscentAndDescent const):
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
(WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):
(WebCore::Layout::layoutBoundsPrimaryMetricsForInlineBox): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:
Canonical link: https://commits.webkit.org/256009@main
More information about the webkit-changes
mailing list