Open Bug 1323170 Opened 8 years ago Updated 2 years ago

Drag operation gets aborted when dragover target is replaced

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, defect)

50 Branch
defect

Tracking

()

People

(Reporter: marijnh, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file test.html
When a dragover handler replaced the event's target with another node, no more events are fired for the drag operation (not even on completely separate nodes), and when a drop happens, its `clientX`, and `clientY` are still pointing at the place where the drag stopped working, not the actual drop position.

dragenter seems to have a similar problem.

In the attached file, drag something over the box, and notice that the events stop being logged as soon as you hit the second paragraph (which is replaced when dragged over).
Flipping a coin between DOM: Events and Drag and Drop, this is where I ended up going, but maybe my coin was loaded? Olli or Neil, do you know what's going on here?
Component: General → Drag and Drop
Keywords: testcase
Product: Firefox → Core
I see this issue in a release build, but not in my local build.
Actually, after more testing, I only see this issue on Linux.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: