[Webkit-unassigned] [Bug 8150] New: Click is registered only if mouse pointer is fully stationary while mouse button is down (except for link and button)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Apr 3 00:15:22 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=8150

           Summary: Click is registered only if mouse pointer is fully
                    stationary while mouse button is down (except for link
                    and button)
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: aapo-bugzilla at starsoft.fi


The click event handler attached to an element such as a table cell or a
paragraph will fire only if the mouse pointer remains perfectly stationary
while the mouse button is held down. However, click event handlers attached to
links and buttons are fired even if the mouse moves a bit while the button is
down.

It is very easy to move the mouse a couple of pixels while clicking. Not having
any allowance at all makes Safari seem unresponsive. All elements should have
at least some degree of allowance in regards to detecting clicks. For
consistency, it might be best if they were very liberal in this regard, like
buttons.

Strictly speaking the current behaviour is according to the standards:

"A click is defined as a mousedown and mouseup over the same screen location."
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mouseevents

However, it is clear that being overly strict here is bad for usability and
accessibility, not to mention inconsistent. Mozilla and Opera have thus chosen
ignore this bit. The workaround is to simulate the click event with mousedown
and mouseup.

Tested in nightly that was downloaded on 2006-04-03. Attaching a test case.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list