[webkit-changes] [WebKit/WebKit] b572a0: [css-text-4] Rename `word-break: auto` to `word-br...
Tim Nguyen
noreply at github.com
Fri Oct 20 22:39:37 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b572a084f1a90c5409f890c1d85c53adb6b020d8
https://github.com/WebKit/WebKit/commit/b572a084f1a90c5409f890c1d85c53adb6b020d8
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-computed-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-invalid-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-valid-expected.txt
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac/TestExpectations
M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
M Source/WebCore/css/CSSPrimitiveValueMappings.h
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/CSSValueKeywords.in
M Source/WebCore/css/parser/CSSParserContext.cpp
M Source/WebCore/css/parser/CSSParserContext.h
M Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
M Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp
M Source/WebCore/rendering/RenderText.cpp
M Source/WebCore/rendering/style/RenderStyleConstants.cpp
M Source/WebCore/rendering/style/RenderStyleConstants.h
Log Message:
-----------
[css-text-4] Rename `word-break: auto` to `word-break: auto-phrase`
https://bugs.webkit.org/show_bug.cgi?id=261972
rdar://115909507
Reviewed by Cameron McCormack.
The spec that landed uses "auto-phrase".
Mark the tests as passing on iOS 17+ and macOS 14+ where this is supported.
https://drafts.csswg.org/css-text-4/#word-break-property
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-computed-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-invalid-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-text/parsing/word-break-valid-expected.txt:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/css/CSSPrimitiveValueMappings.h:
* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/CSSValueKeywords.in:
* Source/WebCore/css/parser/CSSParserContext.cpp:
(WebCore::add):
* Source/WebCore/css/parser/CSSParserContext.h:
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
(WebCore::Layout::TextOnlySimpleLineBuilder::isEligibleForSimplifiedTextOnlyInlineLayout):
* Source/WebCore/layout/formattingContexts/inline/text/TextUtil.cpp:
(WebCore::Layout::TextUtil::contentAnalysis):
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::mapWordBreakToContentAnalysis):
* Source/WebCore/rendering/style/RenderStyleConstants.cpp:
(WebCore::operator<<):
* Source/WebCore/rendering/style/RenderStyleConstants.h:
Canonical link: https://commits.webkit.org/269615@main
More information about the webkit-changes
mailing list