[Bug 23909] Which is expected whether keydown event is fired before or after native IME handles it

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23909

--- Comment #1 from Travis Leithead [MSFT] <travil@microsoft.com> ---
The principle that we applied in IE11 when addressing a similar scenario, was
that keydown is always first given to the web application to handle and cancel
if desired. Then, if not handled, everything else kick-starts.

Our own IME system has a convoluted relationship with the keydown windows
message. In some cases the IME actually consumes the windows message first
(such as when starting to type on an input element where the IME is
initialized) no matter how much we'd like to handle it in the browser. In these
cases we do still get a shot at the keyboard event, and we have to synthesize a
trusted event to the web apps. Basically, we try to maintain the principle that
the web application gets the first opportunity to cancel the event or let it
play out.

Overall, I think this is an implementation detail, and not one that the W3C
spec can specify across different IMEs/platforms.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 4 December 2013 01:59:24 UTC