[Webkit-unassigned] [Bug 40999] Implement getModifierState for KeyboardEvent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 22:59:51 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=40999

--- Comment #9 from Chris Rebert <webkit at chrisrebert.com> ---
KeyboardEvent.getModifierState() is useful for purposes besides AltGr, including on Macs; this bug should really be marked "Platform: All". (Looks like nobody has even mentioned non-AltGr use cases thus far.)

For example, the 'Accel' virtual modifier key (http://www.w3.org/TR/DOM-Level-3-Events-key/#keys-modifier ) allows you to write keyboard shortcut event handlers without having to detect what OS you're on, since the browser determines for you whether Ctrl or ⌘Command is the customary modifier key for keyboard shortcuts on the user's OS).

-- 
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/20151209/fd5bf0c2/attachment.html>


More information about the webkit-unassigned mailing list