Bug 217693 - `InputEvent.inputType` of `input` event fired when you select an item of autocomplete is "undefined"
Summary: `InputEvent.inputType` of `input` event fired when you select an item of auto...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari 14
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2020-10-13 21:39 PDT by Masayuki Nakano
Modified: 2022-10-11 14:09 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Masayuki Nakano 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
Comment 1 Radar WebKit Bug Importer 2020-10-14 12:58:14 PDT
<rdar://problem/70304775>