[Webkit-unassigned] [Bug 73072] New: Movement of mouse dblclick on any point of the browser viewport , cause a keyboard event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 23 23:59:04 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=73072

           Summary: Movement of mouse dblclick on any point of the browser
                    viewport ,cause a keyboard event
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hmj030986 at gmail.com


Overview:

   In the CHrome or Safari , when add a 'keydown' 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 :

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Webkit内核浏览器鼠标双击事件引发一个键盘事件</title>
        <script>
            document.addEventListener('keydown' , function(evt){
                console.dir(evt)
            } , false);
        </script>
    </head>
    <body>
        <div>Double click in any place of the browser(Chrome , Safari),Open the console view of the debugger</div>
    </body>
</html>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list