<?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>13341</bug_id>
          
          <creation_ts>2007-04-12 08:23:26 -0700</creation_ts>
          <short_desc>keydown/press/up events do not fire for modifier keys</short_desc>
          <delta_ts>2019-02-06 09:03: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>419.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>11696</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>6628</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sjoerd Mulder">sjoerdmulder</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adele</cc>
    
    <cc>cdumez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14903</commentid>
    <comment_count>0</comment_count>
    <who name="Sjoerd Mulder">sjoerdmulder</who>
    <bug_when>2007-04-12 08:23:26 -0700</bug_when>
    <thetext>See attached testcase,

1. Give focus to the textarea
2. Press a normal key (works! =&gt;keydown =&gt; keypress =&gt; keyup, like it should)
3. Press a modifier key (works! but it will report 4 times the mousemove on the body)

Expected:
Like on windows with Firefox and IE it would be expected that the modifier keys also fire the way normal keys are doing e.g. keydown{1} =&gt; keypress{1,n} =&gt; keyup{1}.

This is the case on:
- Safari 2.0.4 (419)
- Safari 3 (522)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14884</commentid>
    <comment_count>1</comment_count>
      <attachid>14020</attachid>
    <who name="Sjoerd Mulder">sjoerdmulder</who>
    <bug_when>2007-04-12 08:23:58 -0700</bug_when>
    <thetext>Created attachment 14020
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14890</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2007-04-12 11:38:09 -0700</bug_when>
    <thetext>Maybe we can eliminate the mousemove event too; it&apos;s currently used to cause things like the status bar message to update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4318</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-07-19 05:00:07 -0700</bug_when>
    <thetext>Except for the mousemove issue, this seems to be the same as bug 11696.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63123</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-12-03 03:33:20 -0800</bug_when>
    <thetext>Filed followup bug 16271 for mousemove.

*** This bug has been marked as a duplicate of 11696 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1502994</commentid>
    <comment_count>5</comment_count>
    <who name="Lucas Forschler">lforschler</who>
    <bug_when>2019-02-06 09:03:34 -0800</bug_when>
    <thetext>Mass moving XML DOM bugs to the &quot;DOM&quot; Component.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14020</attachid>
            <date>2007-04-12 08:23:58 -0700</date>
            <delta_ts>2007-04-12 08:23:58 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>keydownkeyupbug.html</filename>
            <type>text/html</type>
            <size>862</size>
            <attacher name="Sjoerd Mulder">sjoerdmulder</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+DQo8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94a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