Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3de82f975a813108818205fa6e431fc63f793f84
https://github.com/WebKit/WebKit/commit/3de82f975a813108818205fa6e431fc63f793f84
Author: Megan Gardner <[email protected]>
Date: 2026-05-28 (Thu, 28 May 2026)
Changed paths:
M Source/WebCore/page/writing-tools/WritingToolsController.mm
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WritingTools.mm
Log Message:
-----------
Proofreading is restricted to only a single paragraph when it should be using
the whole document.
https://bugs.webkit.org/show_bug.cgi?id=315770
rdar://178153096
Reviewed by Abrar Rahman Protyasha.
When reviewing text for proofreading errors, we should not restrict
the context to a single paragraph.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WritingTools.mm
* Source/WebCore/page/writing-tools/WritingToolsController.mm:
(WebCore::contextRangeForSession):
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/WritingTools.mm:
(TEST(WritingTools, ProofreadingReviewContextRangeFromRangeSelection)):
Canonical link: https://commits.webkit.org/314098@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications