[Webkit-unassigned] [Bug 39620] Clicks inside button elements are sometimes discarded when the mouse moves
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 14 17:10:13 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=39620
--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org> 2011-04-14 17:10:13 PST ---
"5.2.3.2. Mouse Event Order" (http://www.w3.org/TR/DOM-Level-3-Events/#events-mouseevent-event-order) has the following statement:
in general should fire click anddblclick events when the event target of the associated mousedown and mouseup events is the same element with no mouseout or mouseleave events intervening, and should not fire click and dblclick events when the event target of the associated mousedown and mouseup events is different.
So current behavior of WebKit follows the spec. Firefox avoids this bug by firing all mousedown, mouseup, and click on button element and Internet Explorer always fires click regardless of whether mouseup/mousedown's targets match each other.
--
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