[w3c/uievents] preventDefault() of keydown event should not kill composition start caused by the keydown (#180)

Current spec said:
https://w3c.github.io/uievents/#event-type-keydown
> The default action of the keydown event depends upon the key:
> * ...
> * If the key is associated with a text composition system, the default action MUST be to launch that system

And also:
> If this event is canceled, the associated event types MUST NOT be dispatched, and the associated actions MUST NOT be performed.

However, as far as I've tested current released versions of desktop browsers, no browser stops sending keydown event to IME (or cancels composition immediately after compositionstart).

So, if web browsers change current behavior, that causes breaking backward compatibility and nobody becomes happy with currently speced behavior. 

Therefore, those declaration should be changed or just add exception for compositionstart.

-- 
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/180

Received on Tuesday, 6 February 2018 08:21:30 UTC