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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 9 16:04:22 PDT 2016


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
                 CC|                            |sam at webkit.org

--- Comment #1 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
keyCode and charCode were present on UIEvent from long ago in the codebase. KeyboardEvent has them in the IDL, but hidden from JavaScript, oddly.

Neither match the spec[1], which has:
  readonly attribute DOMString key;
  readonly attribute DOMString code;

[1] https://w3c.github.io/uievents/#events-keyboardevents

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

More information about the webkit-unassigned mailing list