<?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>16429</bug_id>
          
          <creation_ts>2007-12-13 17:13:42 -0800</creation_ts>
          <short_desc>WebKit nightlies no longer dispatch keypress for special keys</short_desc>
          <delta_ts>2013-02-06 18:39:50 -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>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://unixpapa.com/js/testkey.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Eric Naeseth">naesethe</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jaroslav.benc</cc>
    
    <cc>nemo.chen</cc>
    
    <cc>r.trost</cc>
    
    <cc>ryan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64120</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Naeseth">naesethe</who>
    <bug_when>2007-12-13 17:13:42 -0800</bug_when>
    <thetext>While WebKit r28669 (unlike Safari 3.0.4) now dispatches keydown/keyup events for modifier keys (Shift, Control, Option, and Command), it no longer dispatches keypress events for those keys and the &quot;special&quot; keys it previously dispatched them for (namely the arrow keys, home, end, page up and down, tab, delete, and backspace). It still dispatches one for Enter, but its keyIdentifier field is now blank (previously it was &quot;Enter&quot;.)

A useful page for testing this behavior has been provided as this bug&apos;s URL.

This may have been intentional (after all, the old behavior was kind of an abuse of keypress in the first place), but I&apos;m filing a bug anyway because it might not be, and if it is, I&apos;d like some confirmation that this behavior is indeed changing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64121</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Naeseth">naesethe</who>
    <bug_when>2007-12-13 17:18:28 -0800</bug_when>
    <thetext>Fixing a bit of grammar in the title.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64122</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Naeseth">naesethe</who>
    <bug_when>2007-12-13 17:25:05 -0800</bug_when>
    <thetext>I don&apos;t know a whole lot about Bugzilla or how you guys are using it, but it looks like if this really was unintentional then it would count as a regression, so I&apos;m adding a keyword to that effect.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64134</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-12-13 23:28:33 -0800</bug_when>
    <thetext>Yes, this was intentional, see &lt;http://lists.webkit.org/pipermail/webkit-dev/2007-December/002992.html&gt;.

As with any change, we are open to reconsidering this if it causes too much trouble, but for now, I&apos;m closing as INVALID. Thank you for filing this bug, we appreciate your help!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64159</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Naeseth">naesethe</who>
    <bug_when>2007-12-14 07:48:45 -0800</bug_when>
    <thetext>Thank you very much for that link.

If I find any *real* regressions, I&apos;ll try to let you all know. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74416</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-03-19 01:53:36 -0700</bug_when>
    <thetext>*** Bug 17937 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74452</commentid>
    <comment_count>6</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-03-19 10:17:54 -0700</bug_when>
    <thetext>*** Bug 17947 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>144915</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-09-04 13:58:05 -0700</bug_when>
    <thetext>*** Bug 28905 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>