Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Dragging an image inside contentEditable

261 views
Skip to first unread message

miv...@gmail.com

unread,
Aug 8, 2012, 7:22:26 PM8/8/12
to
We use contentEditable heavily in our app, and noticed lately that the way drag-and-drop works in Firefox has changed, and now instead of moving the position of the dragged element in the DOM, a copy is created. Moreover, the copy is apparently created before the dragstart event is called, so it will lose any changes made to the element during dragging. For us this breaks the way we used to track where a moved image ended up after being dragged and dropped. Test case detailed here: http://jsbin.com/ohuzaj/3

Is this a bug? Is there another way to tell where the element ended up after being dropped?

Thanks

Mike

miv...@gmail.com

unread,
Aug 8, 2012, 8:18:41 PM8/8/12
to
Follow-up: testing using browserstack.com, version 12 doesn't have this issue, but 13 and 14 do.

Ehsan Akhgari

unread,
Aug 9, 2012, 1:54:20 PM8/9/12
to miv...@gmail.com, dev-pl...@lists.mozilla.org, Neil Deakin
This is probably a regression from
https://bugzilla.mozilla.org/show_bug.cgi?id=499008. Could you please
file a bug on bugzilla about this and CC me on it? (You can find me on
bugzilla under :ehsan).

Thanks!
Ehsan
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>

0 new messages