[Webkit-unassigned] [Bug 86618] New: Pressing mouse button and moving mouse causes click event to fire

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 16 06:40:02 PDT 2012


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

           Summary: Pressing mouse button and moving mouse causes click
                    event to fire
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adrian.phinney at gmail.com
                CC: zimmermann at kde.org


Created an attachment (id=142243)
 --> (https://bugs.webkit.org/attachment.cgi?id=142243&action=review)
test case

* Mousedown/up without moving the cursor on the purple rectangle.
* Expected: print 'clicked'
✔ Observed: print 'clicked'

* Mousedown on the rectangle and move the mouse around the purple rectangle.
* Mouseup with the mouse still on the rectangle.
* Expected: NO message
✘ Observed: a message is printed

According to http://www.w3.org/TR/SVG/interact.html#ClickEvent, "a click is defined as a mousedown and mouseup over the same screen location". However, a click event is fired even if the mouse is moved around the shape.

I've tested IE 9 and FF 10.0.2 work as expected (no click message displayed).

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