<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - keyCode and charCode properties should live in KeyboardEvent, not UIEvent"
href="https://bugs.webkit.org/show_bug.cgi?id=156446#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - keyCode and charCode properties should live in KeyboardEvent, not UIEvent"
href="https://bugs.webkit.org/show_bug.cgi?id=156446">bug 156446</a>
from <span class="vcard"><a class="email" href="mailto:webkit@chrisrebert.com" title="Chris Rebert <webkit@chrisrebert.com>"> <span class="fn">Chris Rebert</span></a>
</span></b>
<pre>To clarify, I'm referring to the legacy[1] KeyboardEvent.keyCode and KeyboardEvent.charCode properties:
partial interface KeyboardEvent {
// The following support legacy user agents
readonly attribute unsigned long charCode;
readonly attribute unsigned long keyCode;
which are distinct from the modern[2] KeyboardEvent.key and KeyboardEvent.code properties.
[1]: <a href="https://w3c.github.io/uievents/#legacy-interface-KeyboardEvent">https://w3c.github.io/uievents/#legacy-interface-KeyboardEvent</a>
[2]: <a href="https://w3c.github.io/uievents/#events-keyboardevents">https://w3c.github.io/uievents/#events-keyboardevents</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>