Open Bug 958926 Opened 11 years ago Updated 2 days ago

Bug dataTransfer.setDragImage

Categories

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

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: mansuz1, Unassigned)

References

Details

Attachments

(2 files)

Attached image BUGfirefox.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131205075310 Steps to reproduce: My code for drag and drop HTML5 : <img src="bonus/cheveux/path5252.png" style="transform: scale(0.2, 0.2); margin: 1px;" draggable="true" ondragstart="drag(event)" ></img> <script> function drag(ev) { var myItemSelect=ev.target; ev.dataTransfer.setDragImage(myItemSelect, myItemSelect.width/2, myItemSelect.height/2); } function drop(ev) { } </script> Start drag for reproduce this bug. Actual results: I use the transform: scale(0.2, 0.2); in css for resize my items. But, when startDrag the image create (image feedback) is too big (not resize). In Chrome and Opera, the feed back image is miniature because is resize by transform: scale(0.2, 0.2) Expected results: How corrige this comportement ? How apply the transformation scale(0.2, 0.2) for image generate by Firefox ?
Attached file testcase
Component: Untriaged → Drag and Drop
Product: Firefox → Core
Version: 26 Branch → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
maybe this is related to Bug 941356

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
See Also: → 1963081
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: