Re: [w3c/uievents] It's unclear whether initKeyboardEvent should clear CapsLock key state or not (#209)

There's a similar issue with `NumLock`, where `initKeyboardEvent` doesn't allow for it to be specified.

And `ScrollLock` (which doesn't seem to be supported), `Symbol` and `SymbolLock` (I can't test the latter two).  Those are the only other relevant [modifier keys](https://www.w3.org/TR/uievents-key/#keys-modifier).

Because of this, there is currently no way to affect the result of `getModifierState()` for constructed events to include these modifiers.

Test page: https://w3c.github.io/uievents/tools/key-event-viewer.html

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/209#issuecomment-414496764

Received on Monday, 20 August 2018 23:29:09 UTC