You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a keyboard is used to feed an input method editor, this event type is generated after a keydown event, but speech or handwriting recognition systems MAY send this event type without keyboard events.
In some platforms like Linux Wayland, processing key events for composition might be done in the platform in such a way that all key events may not be received by the browsers from the platform, receiving only the processed composition events.
In this case, what is the exact expectation? Does this spec extend to the platforms to be forced to send all key events to browsers or is there some flexibility here, in which case the platform may chose not to send them, even for text that is composed using keyboards and not other means like speech or handwriting, and browsers can only send key events "if" they are notified about them from the platform?
The section Key Events During Composition mentions key events along with
isComposing
attribute MUST be sent even during composition.The following exceptions to this rule seem to somewhat relax the requirement above:
In some platforms like Linux Wayland, processing key events for composition might be done in the platform in such a way that all key events may not be received by the browsers from the platform, receiving only the processed composition events.
In this case, what is the exact expectation? Does this spec extend to the platforms to be forced to send all key events to browsers or is there some flexibility here, in which case the platform may chose not to send them, even for text that is composed using keyboards and not other means like speech or handwriting, and browsers can only send key events "if" they are notified about them from the platform?
cc: @garnacho, @fangzhoug, @nickdiego, @wengxt
The text was updated successfully, but these errors were encountered: