Bug 177657 - [Input Events] The "insertReplacementText" inputType should be limited to autocorrection and spell checking
Summary: [Input Events] The "insertReplacementText" inputType should be limited to aut...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-29 08:19 PDT by Wenson Hsieh
Modified: 2017-09-29 08:21 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 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.
Comment 1 Wenson Hsieh 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!