[Webkit-unassigned] [Bug 134212] New: Dragging aborts when source element moves away from mouse pointer.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 23 13:33:57 PDT 2014


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

           Summary: Dragging aborts when source element moves away from
                    mouse pointer.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Events
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tyler.waters at gmail.com


Created an attachment (id=233631)
 --> (https://bugs.webkit.org/attachment.cgi?id=233631&action=review)
Test case showing the problem.

1. Open the attached file.
2. Drag the 'green' portion of the box, note that dragging works.
3. Drag the 'red' portion of the box, note that dragging does not work.

In the attached example, the 'dragstart' adds a class that makes the box 50px in height - if you start the drag in the top-50px portion (the green bit) it works as expected -- if however you start the drag in the bottom portion, the height is restricted and the 'dragend' event is fired immediately and no drag operation takes place. 

This is just on example -- moving the box by other means during the dragstart event will also raise the problem.... it seems that if the element cannot be found directly under the mouse position when the dragstart event finishes, the drag is aborted prematurely.

This works in FireFox(30) and IE(11), breaks in Chrome and Safari.

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