diff --git a/event-algo.bs b/event-algo.bs index 268b6a5..4b93f59 100644 --- a/event-algo.bs +++ b/event-algo.bs @@ -1364,11 +1364,11 @@ And the following internal state: :: None 1. Update global modifier key state - 1. If |nativKey| is left or right Shift key, then add "Shift" to key modifier state - 1. If |nativKey| is left or right Control key, then add "Control" to key modifier state - 1. If |nativKey| is left or right Alt key, then add "Alt" to key modifier state - 1. If |nativKey| is AltGraph key, then add "AltGraph" to key modifier state - 1. If |nativKey| is left or right Meta key, then add "Meta" to key modifier state + 1. If |nativeKey| is left or right Shift key, then add "Shift" to key modifier state + 1. If |nativeKey| is left or right Control key, then add "Control" to key modifier state + 1. If |nativeKey| is left or right Alt key, then add "Alt" to key modifier state + 1. If |nativeKey| is AltGraph key, then add "AltGraph" to key modifier state + 1. If |nativeKey| is left or right Meta key, then add "Meta" to key modifier state 1. If handle pre browser key with |nativeKey|, then diff --git a/event-algo.html b/event-algo.html index b5a951d..bf52b93 100644 --- a/event-algo.html +++ b/event-algo.html @@ -3730,15 +3730,15 @@

Update global modifier key state

  • -

    If nativKey is left or right Shift key, then add "Shift" to key modifier state

    +

    If nativeKey is left or right Shift key, then add "Shift" to key modifier state

  • -

    If nativKey is left or right Control key, then add "Control" to key modifier state

    +

    If nativeKey is left or right Control key, then add "Control" to key modifier state

  • -

    If nativKey is left or right Alt key, then add "Alt" to key modifier state

    +

    If nativeKey is left or right Alt key, then add "Alt" to key modifier state

  • -

    If nativKey is AltGraph key, then add "AltGraph" to key modifier state

    +

    If nativeKey is AltGraph key, then add "AltGraph" to key modifier state

  • -

    If nativKey is left or right Meta key, then add "Meta" to key modifier state

    +

    If nativeKey is left or right Meta key, then add "Meta" to key modifier state

  • If handle pre browser key with nativeKey, then

    Note: Chrome/Firefox handle some BrowserKeys before generating keydown events.