<?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>73072</bug_id>
          
          <creation_ts>2011-11-23 23:59:04 -0800</creation_ts>
          <short_desc>Movement of mouse dblclick on any point of the browser viewport ,cause a keyboard event</short_desc>
          <delta_ts>2026-03-06 08:02:42 -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>UI Events</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="manjun.han">hmj030986</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>mario09jelly</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>508650</commentid>
    <comment_count>0</comment_count>
    <who name="manjun.han">hmj030986</who>
    <bug_when>2011-11-23 23:59:04 -0800</bug_when>
    <thetext>Overview:

   In the CHrome or Safari , when add a &apos;keydown&apos; event handler to the HTMLDocument Object , then any double click movement will trigger the the keydown event handler to be 

executed.I have no idea if this is a bug of the webkit . Because the dblclick movement will cause some content of the browser to be selected.Below is my test code :

&lt;html&gt;
    &lt;head&gt;
        &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
        &lt;title&gt;Webkit内核浏览器鼠标双击事件引发一个键盘事件&lt;/title&gt;
		&lt;script&gt;
			document.addEventListener(&apos;keydown&apos; , function(evt){
				console.dir(evt)
			} , false);
		&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
    	&lt;div&gt;Double click in any place of the browser(Chrome , Safari),Open the console view of the debugger&lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>508872</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-11-24 12:50:51 -0800</bug_when>
    <thetext>I cannot reproduce this. Perhaps you are opening Web Inspector with a keyboard shortcut?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>509511</commentid>
    <comment_count>2</comment_count>
    <who name="manjun.han">hmj030986</who>
    <bug_when>2011-11-27 17:10:44 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; I cannot reproduce this. Perhaps you are opening Web Inspector with a keyboard shortcut?

I doubt if it&apos;s the problem of the &apos;Web Inspector with a keyboard shortcut&apos;,my test version of the broswer is Chrome : 15.0.874.0  ! But there is no problem for the same code executed in the FireFox(version : 8.0) with the opening debugger firebug ! I am a new guy for the Web developer !</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>