This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Even there is beforeinput event, web applications may want to distinguish whether a keydown event causes text input or not at keydown event handler. For example, if web apps wants to implement text editor and their own shortcut keys, if a key event will cause text input, it shouldn't be handled as shortcut key at keydown event. E.g., Ctrl+Shift+2 of Persian keyboard layout causes inputting ZWNJ. https://bugzilla.mozilla.org/show_bug.cgi?id=414130 So, in such case, text input may be preferred rather than kicking shortcut. I'd like to suggest a new attribute KeyboardEvent.inputText as bool.
Moving to UIEvents component with permission from opener. We will not address this as part of finishing DOM3 Events.
Now tracking as: https://github.com/w3c/uievents/issues/18