Bug 177657

Summary: [Input Events] The "insertReplacementText" inputType should be limited to autocorrection and spell checking
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: HTML EditingAssignee: Wenson Hsieh <wenson_hsieh>
Status: NEW    
Severity: Normal CC: wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Wenson Hsieh
Reported 2017-09-29 08:19:08 PDT
In https://bugs.webkit.org/show_bug.cgi?id=170955, I made WebKit input event behavior compliant with the input events spec, if we consider insertion via the emoji picker to be "similar to autocorrect/spell checking" (the platform uses the same codepath to insert text in both cases). However, this policy isn't very useful, particularly to clients like Gmail that need to distinguish autocorrection and spell checking from other forms of text insertion. So we should explore limiting "insertReplacementText" to autocorrection and spellchecking.
Attachments
Wenson Hsieh
Comment 1 2017-09-29 08:21:05 PDT
> ...isn't very useful, particularly to clients like Gmail that need to... Whoops, the client in question is actually Google Docs, not Gmail, though I'd imagine it would be helpful for Gmail as well!
Note You need to log in before you can comment on or make changes to this bug.