Bug 195846

Summary: Choosing a spelling correction via context menu should fire input events of type "insertReplacementText"
Product: WebKit Reporter: Wenson Hsieh <wenson_hsieh>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: rniwa, thorton, wenson_hsieh
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Wenson Hsieh
Reported 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).
Attachments
Note You need to log in before you can comment on or make changes to this bug.