Bug 158611 - Add SPI to disable spellchecking on auto-fillable text fields
Summary: Add SPI to disable spellchecking on auto-fillable text fields
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 22:24 PDT by Ryosuke Niwa
Modified: 2016-06-10 14:58 PDT (History)
2 users (show)

See Also:


Attachments
Adds an SPI (9.26 KB, patch)
2016-06-09 22:29 PDT, Ryosuke Niwa
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2016-06-09 22:24:34 PDT
When a text field can be auto-filled, we may not want to auto-correct or even spellcheck user names and emails.
Add a SPI to disable spellchecking to address this.

<rdar://problem/26697937>
Comment 1 Ryosuke Niwa 2016-06-09 22:29:30 PDT
Created attachment 280995 [details]
Adds an SPI
Comment 2 Anders Carlsson 2016-06-10 13:47:30 PDT
Comment on attachment 280995 [details]
Adds an SPI

View in context: https://bugs.webkit.org/attachment.cgi?id=280995&action=review

> Source/WebCore/html/HTMLInputElement.cpp:120
> +    , m_spellcheckEnabled(true)

Maybe call this m_isSpellCheckingEnabled?
Comment 3 Ryosuke Niwa 2016-06-10 14:58:51 PDT
Committed r201942: <http://trac.webkit.org/changeset/201942>