[Webkit-unassigned] [Bug 156446] New: keyCode and charCode properties should live in KeyboardEvent, not UIEvent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 9 15:12:27 PDT 2016


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

            Bug ID: 156446
           Summary: keyCode and charCode properties should live in
                    KeyboardEvent, not UIEvent
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at chrisrebert.com

The following evaluates to true in WebKit Nightly, and to false in Chrome, Firefox, and Edge:

'keyCode' in UIEvent.prototype && 'charCode' in UIEvent.prototype


Per the UI Events spec, keyCode and charCode should be properties of KeyboardEvent, not of UIEvent. See:
* https://w3c.github.io/uievents/#interface-uievent
* https://w3c.github.io/uievents/#legacy-interface-KeyboardEvent

-- 
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/20160409/f2bf0cd0/attachment.html>


More information about the webkit-unassigned mailing list