Bug 18792 - No keyup event generated when turning caps lock on
Summary: No keyup event generated when turning caps lock on
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.w3.org/2002/09/tests/keys-...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-04-28 14:38 PDT by Darin Adler
Modified: 2012-12-15 12:24 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2008-04-28 14:38:55 PDT
Testing with the W3 page <http://www.w3.org/2002/09/tests/keys-cancel2.html> I noticed that no keyup event was generated when turning caps lock on. But one was generated when turning it off.
Comment 1 Radar WebKit Bug Importer 2012-12-11 21:33:16 PST
<rdar://problem/12861840>
Comment 2 Mark Rowe (bdash) 2012-12-11 21:34:25 PST
I believe this is an issue in an underlying component of OS X, and I'm not aware of any workaround.
Comment 3 Ryosuke Niwa 2012-12-12 14:17:27 PST
Also see https://bugzilla.mozilla.org/show_bug.cgi?id=712535.

In particular, the reported behavior of WebKit seems to indicate we have more bugs in this area:
<blockquote>
I've tested this in Chrome and Safari, both of which fire a keyup event after toggling the caps-lock key.


Actual results:

On the first press of caps-lock the keydown event fires.
On the second press of caps-lock the keydown event fires again.


Expected results:

On the first press of caps-lock the keydown event should fire.
On the second press of caps-lock the keyup event should fire, Not keydown again.
</blockquote>