[webkit-changes] [WebKit/WebKit] 43585a: text-spacing: text-spacing-trim: implement trim-al...
Vitor Roriz
noreply at github.com
Wed Oct 16 13:48:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 43585a41ba1389bb588e1b6d5346f5318ba15486
https://github.com/WebKit/WebKit/commit/43585a41ba1389bb588e1b6d5346f5318ba15486
Author: Vitor Roriz <vitor.roriz at apple.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-spacing-trim-computed-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-spacing-trim-valid-expected.txt
M Source/WTF/wtf/text/CharacterProperties.h
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/css/ComputedStyleExtractor.cpp
M Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp
M Source/WebCore/css/parser/CSSPropertyParserHelpers.h
M Source/WebCore/platform/graphics/WidthIterator.cpp
M Source/WebCore/platform/text/TextSpacing.cpp
M Source/WebCore/platform/text/TextSpacing.h
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/style/StyleBuilderConverter.h
Log Message:
-----------
text-spacing: text-spacing-trim: implement trim-all for simple path
https://bugs.webkit.org/show_bug.cgi?id=281371
rdar://137795775
Reviewed by Brent Fulgham.
Implementing text-spacing: trim-all for the simple path (WidthIterator).
* Source/WTF/wtf/text/CharacterProperties.h:
(WTF::isFullwidthMiddleDotPunctuation):
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeTextSpacingTrim): Deleted.
* Source/WebCore/css/parser/CSSPropertyParserHelpers.h:
* Source/WebCore/platform/graphics/WidthIterator.cpp:
(WebCore::WidthIterator::advanceInternal):
* Source/WebCore/platform/text/TextSpacing.cpp:
(WebCore::TextSpacingTrim::shouldTrimSpacing const):
(WebCore::TextSpacing::characterClass):
* Source/WebCore/platform/text/TextSpacing.h:
(WebCore::operator<<):
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertTextSpacingTrim):
Canonical link: https://commits.webkit.org/285287@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