[webkit-changes] [WebKit/WebKit] 069253: [IFC] Move InlineItemsBuilder::m_hasTextAutospace ...
Alan Baradlay
noreply at github.com
Tue Jan 14 11:57:44 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 069253d1a4a0cb156be7040854b9a0201be9e5bf
https://github.com/WebKit/WebKit/commit/069253d1a4a0cb156be7040854b9a0201be9e5bf
Author: Alan Baradlay <zalan at apple.com>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.h
Log Message:
-----------
[IFC] Move InlineItemsBuilder::m_hasTextAutospace handling to computeContentAttributesAndInlineTextItemWidths
https://bugs.webkit.org/show_bug.cgi?id=285825#
Reviewed by Antti Koivisto.
Move autospace and apply a drive-by fix to make sure it does not get turned on for boxes like inline-block and out-of-flow.
* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::InlineItemsBuilder::build):
(WebCore::Layout::InlineItemsBuilder::computeInlineBoxBoundaryTextSpacings):
(WebCore::Layout::InlineItemsBuilder::collectInlineItems):
(WebCore::Layout::handleTextSpacing):
(WebCore::Layout::InlineItemsBuilder::computeContentAttributesAndInlineTextItemWidths):
(WebCore::Layout::InlineItemsBuilder::handleInlineBoxStart):
(WebCore::Layout::InlineItemsBuilder::computeInlineBoxBoundaryTextSpacingsIfNeeded): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.h:
Canonical link: https://commits.webkit.org/288878@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list