Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e892230cbbc8e860cc90767882f54355446deef9
https://github.com/WebKit/WebKit/commit/e892230cbbc8e860cc90767882f54355446deef9
Author: Alan Baradlay <[email protected]>
Date: 2025-12-06 (Sat, 06 Dec 2025)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineLineBox.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineQuirks.cpp
M
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp
Log Message:
-----------
[subpixel-inline-layout] Move (non-ascent/descent) integral calls on
FontMetrics over to InlineFormattingUtils::snapToInt
https://bugs.webkit.org/show_bug.cgi?id=303661
<rdar://problem/165941971>
Reviewed by Antti Koivisto.
This is in preparation for removing integral snapping in vertical direction.
(ascent/descent snapping is not a simple, one-direction snap. needs more work.)
* Source/WebCore/layout/formattingContexts/inline/InlineLineBox.cpp:
(WebCore::Layout::LineBox::logicalRectForTextRun const):
* Source/WebCore/layout/formattingContexts/inline/InlineLineBoxBuilder.cpp:
(WebCore::Layout::layoutBoundstWithEdgeAdjustmentForInlineBox):
(WebCore::Layout::textBoxAdjustedInlineBoxHeight):
(WebCore::Layout::LineBoxBuilder::enclosingAscentDescentWithFallbackFonts
const):
(WebCore::Layout::LineBoxBuilder::setLayoutBoundsForInlineBox const):
(WebCore::Layout::LineBoxBuilder::adjustInlineBoxHeightsForLineBoxContainIfApplicable):
(WebCore::Layout::LineBoxBuilder::applyTextBoxTrimOnLineBoxIfNeeded const):
* Source/WebCore/layout/formattingContexts/inline/InlineQuirks.cpp:
(WebCore::Layout::InlineQuirks::initialLetterAlignmentOffset const):
*
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::adjustLayoutBoundsAndStretchAncestorRubyBase):
* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::fontMetricsBasedBaseline):
Canonical link: https://commits.webkit.org/304065@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications