Open Bug 1159214 Opened 6 years ago Updated 4 years ago

In contenteditable elements, -moz-user-select:none elements are copied instead of moved on drag/drop

Categories

(Core :: DOM: Selection, defect)

37 Branch
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: lonevvolf, Unassigned)

Details

(Keywords: testcase)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36

Steps to reproduce:

See following jsfiddle:
http://jsfiddle.net/xnbcco4z/9/

Drag the image within the contenteditable div


Actual results:

The image is copied


Expected results:

The image should be moved.  Removing the style changes the behavior to move, rather than copy.
Component: Untriaged → Selection
Keywords: testcase
Product: Firefox → Core
Note: In version 49.0.2, this has become worse.  Now, -webkit-user-select: none; also produces the same effect.
You need to log in before you can comment on or make changes to this bug.