Open Bug 986412 Opened 11 years ago Updated 2 years ago

ondragend not fired if more than the drag element is selected

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

28 Branch
x86
Windows XP
defect

Tracking

()

People

(Reporter: David.Gausmann, Unassigned)

Details

Attachments

(1 file)

Attached file test.htm
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20140314220517 Steps to reproduce: In the attachment you must select text from the first div container to the third div container. Then you must begin to drag while the cursor is over the second div container (that with draggable=true) Actual results: If you begin to drag while you are in the middle drag container then ondragstart will be fired. If you drop over an illegal target (also abort the dragging operation) then ondragend will NOT be fired (you see that the dragged element stays transparent). If you instead drag the second dive alone or drag the first + second or second + third then everything works fine (the ondragend event becomes fired and the dragged element gets opaque again). Expected results: The ondragend event should be fired. I've tested it with Opera and Chrome and it works in both browsers.
Severity: normal → trivial
Confirmed 31.0a1 (2014-03-20), win 7 x64.
Status: UNCONFIRMED → NEW
Component: Untriaged → Event Handling
Ever confirmed: true
Product: Firefox → Core
Component: Event Handling → User events and focus handling
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: