Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a4cc66ce1d238031bb69a5b648fe65c39c1b362a
https://github.com/WebKit/WebKit/commit/a4cc66ce1d238031bb69a5b648fe65c39c1b362a
Author: Jessica Cheung <[email protected]>
Date: 2026-04-21 (Tue, 21 Apr 2026)
Changed paths:
M Source/WebCore/editing/TextListParser.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SmartLists.mm
Log Message:
-----------
[Smart Lists] Use endash instead of emdash for smart dashed lists
https://bugs.webkit.org/show_bug.cgi?id=312827
rdar://175194298
Reviewed by Richard Robinson and Lily Spiniolas.
As the title says, we should use endash instead of emdash for
smart lists.
Update API tests that use emdash to endash.
* Source/WebCore/editing/TextListParser.cpp:
(WebCore::tryConsumeUnorderedDashTextList):
(WebCore::parseTextList):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SmartLists.mm:
(InsertingSpaceAndTextAfterHyphenGeneratesDashedList)):
((SmartLists, InsertingDifferentListStylesDoesNotMergeLists)):
Canonical link: https://commits.webkit.org/311697@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications