[webkit-changes] [WebKit/WebKit] 3a5bb5: [LFC][IFC] Decouple layout bounds and ascent/desce...
Alan Baradlay
noreply at github.com
Tue Oct 25 15:24:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3a5bb57eac7c1b8b6f7ef44651f8be50db26e568
https://github.com/WebKit/WebKit/commit/3a5bb57eac7c1b8b6f7ef44651f8be50db26e568
Author: Alan Baradlay <zalan at apple.com>
Date: 2022-10-25 (Tue, 25 Oct 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h
Log Message:
-----------
[LFC][IFC] Decouple layout bounds and ascent/descent on inline level boxes
https://bugs.webkit.org/show_bug.cgi?id=246962
Reviewed by Antti Koivisto.
This is in preparation for supporting line-box-contain, where the layout bounds != ascent/descent.
Introduce setAscentAndDescent to set the ascent/descent. No functionality change here.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::LineBoxBuilder::setLayoutBounds const):
(WebCore::Layout::LineBoxBuilder::setAscentAndDescent const):
(WebCore::Layout::LineBoxBuilder::constructInlineLevelBoxes):
(WebCore::Layout::LineBoxBuilder::adjustIdeographicBaselineIfApplicable):
(WebCore::Layout::LineBoxBuilder::setBaselineAndLayoutBounds const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.h:
Canonical link: https://commits.webkit.org/255987@main
More information about the webkit-changes
mailing list