Created attachment 620902 [details]
User Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:10.0.4) Gecko/20100101 Firefox/10.0.4
Build ID: 20120420145309
Steps to reproduce:
Created a drag and drop example application.
The attached files demonstrate that using the exact same code that drag and drop is not working when the mime is application/xhtml+xml. When the file is renamed .html to generate a text/html mime the drag and drop functionality works.
The drag and drop functionality should work regardless of the mime/media type.
Created attachment 620904 [details]
The text/html version of the test case.
The first attachment is application/xhtml+xml (did not see an option to set it as so), this is text/html. The text/html copy works, the application/xhtml+xml does not.
Simple directions: click and drag the image up in to the blue division element.
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100524 Minefield/3.7a5pre ID:20100524162132
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100524 Minefield/3.7a5pre ID:20100524172122
0c440c656ada Mats Palmgren — Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron
*** This bug has been marked as a duplicate of bug 703514 ***
Created attachment 8638955 [details]
This bug is NOT the same bug with bookmarks and continues to persist. This bug should be easy to fix if it's just an array mime list, just add the application/xhtml+xml back to the list.
If you rename this "video.xhtml" attachment to "video.html" and render it as text/html then drag-and-drop works perfectly fine.