Open Bug 793495 Opened 13 years ago Updated 5 years ago

dragleave event fired after dragend and without a previous dragenter

Categories

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

10 Branch
x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.1) Gecko/20100101 Firefox/10.0.1 Build ID: 20120208060813 Steps to reproduce: I have a series of possible drop zone elements in a block container. 1. Drag an element A over another element B. 2. Drop A on B. 3. Element A is inserted after element B in the block (so it is moved from the drag position to the drop position and element B is shifted away from its original position as the block shuffles its children) Actual results: 1. dragenter event is fired when dragging over element B 2. drop event is fired on element B and dragend event on element A 3. dragleave event is fired on element A Expected results: Certainly No dragleave event on element A. Nothing is ever dragged over element A and no dragenter or dragover events are ever generated for it. Probably no dragleave event on element B either, according to the spec, although I'm not sure what the exact behaviour should be when the drop element is shifted out from under the mouse by the drop taking place.
Component: Untriaged → General
Component: General → Tabbed Browser
Component: Tabbed Browser → Drag and Drop
Product: Firefox → Core

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.