Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 26d1738c5650abdf49be7bd2187598cb0bd40e9c
https://github.com/WebKit/WebKit/commit/26d1738c5650abdf49be7bd2187598cb0bd40e9c
Author: Richard Robinson <[email protected]>
Date: 2026-04-15 (Wed, 15 Apr 2026)
Changed paths:
M Source/WebCore/editing/TextListParser.cpp
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SmartLists.mm
Log Message:
-----------
[Smart Lists] Numbered list starting number clipped off-screen when using a
large number
https://bugs.webkit.org/show_bug.cgi?id=312321
rdar://172515216
Reviewed by Aditya Keerthi, Tim Horton, and Abrar Rahman Protyasha.
Don't create a Smart List if the starting ordinal is more than three digits.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SmartLists.mm
* Source/WebCore/editing/TextListParser.cpp:
(WebCore::consumeNumber):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SmartLists.mm:
((SmartLists, InsertingSpaceAfterLargeNumberDoesNotGenerateOrderedList)):
Canonical link: https://commits.webkit.org/311332@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications