[whatwg/dom] Spec event.keyCode for keypress events (#701)

It turns out implementing `window.event` without `event.keyCode` for `keypress` breaks sites. 😢 

https://bugzilla.mozilla.org/show_bug.cgi?id=1479964


Masayuki suggested Firefox follow what Chrome does here: https://bugzilla.mozilla.org/show_bug.cgi?id=1479964#c3.


Seems reasonable to me?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/701

Received on Monday, 24 September 2018 19:20:25 UTC