[Webkit-unassigned] [Bug 86618] mousedown + mousemove causes click event to fire on SVG element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 17 04:38:31 PDT 2012


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





--- Comment #3 from Adrian Phinney <adrian.phinney at gmail.com>  2012-05-17 04:37:35 PST ---
(In reply to comment #1)
> This spec requirement doesn't appear practical. For usability and accessibility reasons, one cannot require that mouse position doesn't change at all during click, or it would be too difficult for some people to click. This is doubly important for double clicks, which are served by the same event (with the detail attribute incrementing with each repetition).
> 
> That said, click hysteresis is not the observable difference with spec here - you can move the mouse all over the shape, not just by 2-3 pixels. I don't know if that's intentional for SVG, although it matches behavior of most built-in HTML controls.

Alexey,

Yes - I think the requirement of "over the same screen location" is almost always implemented actually within a bounding box of a couple pixels. The behaviour in WebKit right now is inconsistent with other HTML elements. For example, adding the same code above to a div would produce the expected results.

-- 
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