Open Bug 882609 Opened 11 years ago Updated 3 years ago

drag and drop of a link to the content editable div is not pasting the content set through datatransfer.setData()

Categories

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

x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rakesh.makluri, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file dragdrop.htm
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

Steps to reproduce:

In ondrag start event am setting the data through event.dataTransfer.setData(), but on dropping the link to the content editable div it is not pasting the content set instead it is pasting the link text.

To reproduce it open the attached HTM and dragdrop the link to the green area and the input element


Actual results:

link text is pasted in the div, where as in input element proper content pasted which is set through setData()


Expected results:

It should paste the content set through setData()
Component: Untriaged → Drag and Drop
Product: Firefox → Core
Attachment #761947 - Attachment mime type: text/plain → text/html
FWIW, for the green DIV

* I can repro back to Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 ID:20110413222027 CSet: fca718600ca0
* Chrome 31 behaves like Gecko
* MSIE behaves as Comment 0's expectation.
Keywords: testcase
Version: 22 Branch → Trunk

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

If you have reason to believe this is wrong (especially for the severity), 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.

Attachment

General

Creator:
Created:
Updated:
Size: