- From: Orko Garai <notifications@github.com>
- Date: Thu, 10 Apr 2025 11:56:46 -0700
- To: w3c/uievents <uievents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/uievents/issues/395@github.com>
ogarai created an issue (w3c/uievents#395) The section [Key Events During Composition](https://w3c.github.io/uievents/#events-composition-key-events) mentions key events along with `isCompositing` attribute MUST be sent even during composition. > During the composition session, [keydown](https://w3c.github.io/uievents/#keydown) and [keyup](https://w3c.github.io/uievents/#keyup) events MUST still be sent, and these events MUST have the [isComposing](https://w3c.github.io/uievents/#dom-keyboardevent-iscomposing) attribute set to true. The following exceptions to this rule seems to somewhat relax the requirement above: - [Section "Input Method Editors"](https://w3c.github.io/uievents/#keys-IME) has the following note: > In some implementations or system configurations, some key events, or their values, might be suppressed by the [IME](https://w3c.github.io/uievents/#ime) in use. - [In compositionstart](https://w3c.github.io/uievents/#event-type-compositionstart): > When a keyboard is used to feed an input method editor, this event type is generated after a [keydown](https://w3c.github.io/uievents/#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 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 -- Reply to this email directly or view it on GitHub: https://github.com/w3c/uievents/issues/395 You are receiving this because you are subscribed to this thread. Message ID: <w3c/uievents/issues/395@github.com>
Received on Thursday, 10 April 2025 18:56:50 UTC