Bug 195846 - Choosing a spelling correction via context menu should fire input events of type "insertReplacementText"
Summary: Choosing a spelling correction via context menu should fire input events of t...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-15 22:27 PDT by Wenson Hsieh
Modified: 2019-03-15 22:27 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2019-03-15 22:27:08 PDT
They currently fire plain "insertText" events ಠ_ಠ

1. https://whsieh.github.io/examples/input-events
2. Type "helllo" and hit Escape to dismiss the autocorrection bubble
3. Type a space
4. Right click "helllo" and choose "hello"

Expected: "insertReplacementText"
Observed: "insertText"

Additional notes: autocorrection does fire "insertReplacementText" as expected (e.g. type "helllo" and immediately hit space).