Bug 217693

Summary: `InputEvent.inputType` of `input` event fired when you select an item of autocomplete is "undefined"
Product: WebKit Reporter: Masayuki Nakano <masayuki>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, megan_gardner, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari 14   
Hardware: Mac   
OS: macOS 10.15   
See Also: https://bugs.webkit.org/show_bug.cgi?id=170416

Masayuki Nakano
Reported 2020-10-13 21:39:37 PDT
With same STR with bug 217692, you'll see only `input` event is fired. However, its `inputType` (and some other `InputEvent` attributes) are `undefined`. I think that the `input` event is not fired as an `InputEvent` instance. The value should be `"insertReplacementText"`. https://www.w3.org/TR/input-events-2/#interface-InputEvent-Attributes
Attachments
Radar WebKit Bug Importer
Comment 1 2020-10-14 12:58:14 PDT
Note You need to log in before you can comment on or make changes to this bug.