[webkit-changes] [WebKit/WebKit] 94f380: text-autospace: Parse ideograph-alpha, ideograph-n...
Vitor Roriz
noreply at github.com
Thu Aug 1 11:07:02 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 94f380ede47d26c550c3e09b4c01a719204f50c2
https://github.com/WebKit/WebKit/commit/94f380ede47d26c550c3e09b4c01a719204f50c2
Author: Vitor Roriz <vitor.roriz at apple.com>
Date: 2024-08-01 (Thu, 01 Aug 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-autospace-computed-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-autospace-valid-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt
M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt
M LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
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/platform/text/TextSpacing.h
M Source/WebCore/rendering/style/RenderStyle.h
M Source/WebCore/style/StyleBuilderConverter.h
Log Message:
-----------
text-autospace: Parse ideograph-alpha, ideograph-numeric and normal
https://bugs.webkit.org/show_bug.cgi?id=277390
rdar://problem/132860482
Reviewed by Tim Nguyen.
We are now parsing ideograph-alpha, ideograph-numeric and normal
as valid values of text-autospace according to specification [1].
We are also creating text-autospace's own feature flag.
[1]: https://drafts.csswg.org/css-text-4/#text-autospace-property
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-autospace-computed-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/text-autospace-valid-expected.txt:
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt:
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-002-expected.txt:
* LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-002-expected.txt:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::textAutospaceFromStyle):
* Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumeTextAutospace):
* Source/WebCore/platform/text/TextSpacing.h:
(WebCore::TextAutospace::TextAutospace):
(WebCore::TextAutospace::isAuto const):
(WebCore::TextAutospace::isNoAutospace const):
(WebCore::TextAutospace::isNormal const):
(WebCore::TextAutospace::hasIdeographAlpha const):
(WebCore::TextAutospace::hasIdeographNumeric const):
(WebCore::TextAutospace::options):
(WebCore::operator<<):
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertTextAutospace):
Canonical link: https://commits.webkit.org/281719@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