Bug 170416 - Support InputEventInit.{inputType, dataTransfer, isComposing, targetRanges}
Summary: Support InputEventInit.{inputType, dataTransfer, isComposing, targetRanges}
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, FromImplementor, InRadar
Depends on:
Blocks:
 
Reported: 2017-04-03 13:31 PDT by Chong Zhang
Modified: 2024-02-08 15:20 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chong Zhang 2017-04-03 13:31:19 PDT
Spec for InputEventInit.isComposing:
https://w3c.github.io/uievents/#idl-inputeventinit

Spec for InputEventInit.{inputType, dataTransfer, targetRanges}:
https://w3c.github.io/input-events/index.html#interface-InputEvent

Blink IDL:
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/events/InputEventInit.idl
Comment 1 bazzimoe3 2023-10-01 17:01:57 PDT
Has the spec for InputEventInit.{inputType, dataTransfer, targetRanges} changed since this issue was created? 

Chrome does have this implemented, I dont see any reason WebKit shouldn't have it as well. The most major use case of this would be grammar-checking and correcting web extensions. I have come across some extensions (e.g. Language Tools), that although from Chrome, do rely on this.

I have a patch ready to go, it was simple enough (I think haha)
Comment 2 Tatsunori Uchino 2023-10-06 02:16:08 PDT
https://dninomiya.github.io/form-guide/stop-enter-submit

It seems only Safari hasn't support the isComposing yet.
Comment 3 bazzimoe3 2023-10-20 10:17:05 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19346
Comment 4 Radar WebKit Bug Importer 2024-02-08 15:20:12 PST
<rdar://problem/122586738>