diff --git a/sections/legacy-event-types.txt b/sections/legacy-event-types.txt index 8efe1b0..f0f5d47 100644 --- a/sections/legacy-event-types.txt +++ b/sections/legacy-event-types.txt @@ -436,10 +436,17 @@ completeness. If supported by a user agent, this event MUST be dispatched - when a key is pressed down, if and only if that key normally - produces a character value. The EVENT{keypress} event type is - device dependent and relies on the capabilities of the input devices - and how they are mapped in the operating system. + when a key is pressed down, if and only if any of the following + conditions are true: + + - that key normally produces a character value + - that key is the KEYCAP{Enter} key and no modifier was active + - that key is the KEYCAP{Enter} key and the KEYCAP{Shift} modifier was active + - that key is the KEYCAP{Enter} key and the KEYCAP{Control} modifier was active + + The EVENT{keypress} event type is device dependent and relies on the + capabilities of the input devices and how they are mapped in the + operating system. This event type MUST be generated after the key mapping. It MUST NOT be fired when using an input method editor.