Bug 170414

Summary: Support InputEvent.isComposing
Product: WebKit Reporter: Chong Zhang <chongz>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: 709922234, ahmad.saleem792, ap, bdakin, bfulgham, rniwa, simon.fraser, webkit-bug-importer, webkit, wenson_hsieh, zalan
Priority: P2 Keywords: FromImplementor, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
URL: https://w3c.github.io/uievents/#dom-inputevent-iscomposing
See Also: https://bugs.webkit.org/show_bug.cgi?id=170416

Chong Zhang
Reported 2017-04-03 13:25:09 PDT
According to spec https://w3c.github.io/uievents/#events-inputevents InputEvent should have attribute |isComposing| to indicate whether it's inside a composition. Blink IDL: https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/events/InputEvent.idl?q=InputEvent.idl&sq=package:chromium&dr&l=16
Attachments
Wenson Hsieh
Comment 1 2017-04-23 23:18:25 PDT
Ahmad Saleem
Comment 2 2022-09-02 15:46:51 PDT
Updated link to Chromium / Blink source - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/events/input_event.idl;l=1?q=INput_event.idl&sq= Webkit Source - https://github.com/WebKit/WebKit/blob/8afe31a018b11741abdf9b4d5bb973d7c1d9ff05/Source/WebCore/dom/InputEvent.idl _____________ Need to change: constructor(DOMString type, optional InputEventInit eventInitDict = {}); Add: readonly attribute boolean isComposing; Extra in Webkit: dictionary InputEventInit : UIEventInit { DOMString? data = null; };
Ryosuke Niwa
Comment 3 2022-09-03 03:22:04 PDT
EWS
Comment 4 2022-09-03 10:53:44 PDT
Committed 254131@main (1aeb3328d18e): <https://commits.webkit.org/254131@main> Reviewed commits have been landed. Closing PR #3990 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.