[webkit-changes] [WebKit/WebKit] c16650: Add JavaScript API to disable spellchecking except...
Ryosuke Niwa
noreply at github.com
Thu Dec 19 11:16:54 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c16650a74dbb756ce134300c85164c49f9b2fc13
https://github.com/WebKit/WebKit/commit/c16650a74dbb756ce134300c85164c49f9b2fc13
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-12-19 (Thu, 19 Dec 2024)
Changed paths:
M Source/WebCore/html/HTMLInputElement.h
M Source/WebCore/html/HTMLInputElement.idl
M Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm
Log Message:
-----------
Add JavaScript API to disable spellchecking except text replacement
https://bugs.webkit.org/show_bug.cgi?id=284942
Reviewed by Wenson Hsieh.
This PR introduces HTMLInputElement.prototype.autofillSpellcheck to a DOM content world
where autofill is enabled so that the injected script may disable spellchecking for
autofill purposes.
* Source/WebCore/html/HTMLInputElement.h:
* Source/WebCore/html/HTMLInputElement.idl:
* Tools/TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm:
(TEST(WKUserContentController, DisableAutofillSpellcheck)):
Canonical link: https://commits.webkit.org/288109@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