- From: Chong Zhang <notifications@github.com>
- Date: Mon, 19 Dec 2016 12:33:26 -0800
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 19 December 2016 20:33:59 UTC
I know there was a resolution, but can we swap `'compositionupdate'` and `'beforeinput'` so the event order becomes: ``` *'compositionupdate' *'beforeinput'` -update DOM now- 'input'` ``` **Reasoning** 1. Previously we want to fire `'beforeinput'` before `'compositionupdate'` because IE/Edge has a different behavior, but IIRC @gked mentioned that it was a bug and will be fixed. (@gked can you help confirm?) 2. If IE/Edge could update the behavior then it makes more sense to fire `'beforeinput'` immediately before DOM update as required by spec: > A user agent MUST dispatch this event when the DOM is about to be updated. 3. We want to fire `'beforeinput'/'input'` for `'deleteCompositionText'` and `'insertFromComposition'` at the end of composition without `'compositionupdate'` (since it's not a request from IME), so it doesn't make sense to constrain `'compositionupdate'` in between `'beforeinput'/'input'`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/66#issuecomment-268070654
Received on Monday, 19 December 2016 20:33:59 UTC