Re: [whatwg/dom] createEvent("textevent") creates a TextEvent (PR #1254)

The `textInput` event is required for web compat when typing, pasting, dropping, and maybe some other actions, in an editable field (`input` or `textarea` or `contenteditable`). The event uses the `TextEvent` interface in Chromium and WebKit. Supporting that interface and the change in this PR is also required for web compat because some sites use it for feature-checking support for the `textInput` event. Example: https://github.com/cespare/pastedown/blob/9211a49c848d037b01fd42c26891f4b83a19a56d/public/pastedown.js#L51

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1254#issuecomment-1935839290
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1254/c1935839290@github.com>

Received on Friday, 9 February 2024 12:26:07 UTC