w3c / input-events

Input Events
https://w3c.github.io/input-events/
Other
23 stars 16 forks source link

July 29th F2F Agenda Item - Non-cancelable event 1of 2 #23

Closed johanneswilm closed 7 years ago

johanneswilm commented 7 years ago

From @gked on July 29, 2016 20:23

Previously we talked about the beforeInput event not being cancelable during a composition. With the splitting of the event into one part in the ui-events spec and the other in the Input events spec, the cancelable attribute is in the ui events spec and the isComposing is in the Input events spec. In the ui-events spec the event is marked as always being cancelable. Will this work, or do we need to specify that it is not cancelable during composition?

Copied from original issue: w3c/editing#137

johanneswilm commented 7 years ago

From @gked on July 29, 2016 20:28

Update the UIEvents spec with cancellability of beforeInput in composition cases

johanneswilm commented 7 years ago

Note: 140 is now #17

From @garykac on August 1, 2016 20:53

Proposal was to make beforeinput !cancelable during composition. Except for the last one which has a different inputType (something like "finalComposition") and is cancelable=true.

If canceled, the DOM goes back to what it was before compositionstart. Issue #140 covers investigating whether this is possible on Android.

johanneswilm commented 7 years ago

The investigation was finished and the spec has been updated accordingly now.