Bug 158611

Summary: Add SPI to disable spellchecking on auto-fillable text fields
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: WebKit2Assignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: enrica, sam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Adds an SPI andersca: review+

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>