[Webkit-unassigned] [Bug 40999] Implement getModifierState for KeyboardEvent
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 10 02:27:13 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=40999
--- Comment #11 from Masayuki Nakano <masayuki at d-toybox.com> ---
(In reply to comment #10)
> > since the browser determines for you whether Ctrl or âCommand is the customary modifier key
>
> This seems like a pretty questionable feature in its own, please file a
> separate bug about it. OS X has plenty of shortcuts that don't involve the
> Command key (for example, all the Emacs key bindings, but also many more).
"Accel" virtual modifier is dropped from the latest spec because there is no API to retrieve its caption. So, anyway, web apps need to check platform for documenting or showing shortcut key list to users. Therefore, UI Event guys decided that only "Accel" virtual modifier making reduce platform check doesn't make sense.
And also, "Meta" key is now mapped to Windows key on Windows (that was mapped "OS"). So, on Windows, during pressing Windows key, .getModifierState("Meta") should return true. Of course, .metaKey too. (On Linux, Windows Logo key may mapped any keys, therefore, pressing Window key on Linux may activate "Super" modifier in most environments.)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151210/84a5cb0d/attachment.html>
More information about the webkit-unassigned
mailing list