Bug 18792
| Summary: | No keyup event generated when turning caps lock on | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, dbates, mrowe, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
| URL: | http://www.w3.org/2002/09/tests/keys-cancel2.html | ||
Darin Adler
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/12861840>
Mark Rowe (bdash)
I believe this is an issue in an underlying component of OS X, and I'm not aware of any workaround.
Ryosuke Niwa
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>