[webkit-changes] [WebKit/WebKit] f6c758: [LFC][IFC][Quirks] Move shouldApplyTrailingWhiteSp...
alan
noreply at github.com
Thu Sep 22 06:34:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f6c7586686bb2a6ef95689e74b96494b78b8d73b
https://github.com/WebKit/WebKit/commit/f6c7586686bb2a6ef95689e74b96494b78b8d73b
Author: Alan Bujtas <zalan at apple.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.h
M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
M Source/WebCore/layout/formattingContexts/inline/InlineLine.h
M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
Log Message:
-----------
[LFC][IFC][Quirks] Move shouldApplyTrailingWhiteSpaceFollowedByBRQuirk to InlineFormattingQuirks
https://bugs.webkit.org/show_bug.cgi?id=245512
Reviewed by Antti Koivisto.
This is in preparation for enabling "line-break: after-white-space" which will also be using TrailingTrimmableContentAction::Preserve.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.cpp:
(WebCore::Layout::InlineFormattingQuirks::shouldPreserveTrailingWhitespace const):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingQuirks.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp:
(WebCore::Layout::Line::handleTrailingTrimmableContent):
(WebCore::Layout::Line::removeTrailingTrimmableContent): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLine.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::close):
Canonical link: https://commits.webkit.org/254754@main
More information about the webkit-changes
mailing list