<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18792</bug_id>
          
          <creation_ts>2008-04-28 14:38:55 -0700</creation_ts>
          <short_desc>No keyup event generated when turning caps lock on</short_desc>
          <delta_ts>2012-12-15 12:24:34 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.w3.org/2002/09/tests/keys-cancel2.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darin Adler">darin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>dbates</cc>
    
    <cc>mrowe</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>79173</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-04-28 14:38:55 -0700</bug_when>
    <thetext>Testing with the W3 page &lt;http://www.w3.org/2002/09/tests/keys-cancel2.html&gt; I noticed that no keyup event was generated when turning caps lock on. But one was generated when turning it off.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>789173</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-12-11 21:33:16 -0800</bug_when>
    <thetext>&lt;rdar://problem/12861840&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>789174</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2012-12-11 21:34:25 -0800</bug_when>
    <thetext>I believe this is an issue in an underlying component of OS X, and I&apos;m not aware of any workaround.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>789907</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-12-12 14:17:27 -0800</bug_when>
    <thetext>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:
&lt;blockquote&gt;
I&apos;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.
&lt;/blockquote&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>