Open Bug 751778 Opened 13 years ago Updated 3 years ago

Drag and drop not working in XHTML as application/xhtml+xml

Categories

(Core :: General, defect)

x86_64
All
defect

Tracking

()

REOPENED

People

(Reporter: jab_creations, Unassigned)

References

Details

(Keywords: regression, xhtml)

Attachments

(3 files)

Attached file gecko_dad.xhtml
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. Actual results: 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. Expected results: The drag and drop functionality should work regardless of the mime/media type.
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.
Keywords: xhtml
Regression window Works: http://hg.mozilla.org/mozilla-central/rev/714faf8ec149 Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100524 Minefield/3.7a5pre ID:20100524162132 Fails: http://hg.mozilla.org/mozilla-central/rev/2e4105f85be9 Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100524 Minefield/3.7a5pre ID:20100524172122 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=714faf8ec149&tochange=2e4105f85be9 Triggered by: 0c440c656ada Mats Palmgren — Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron
Blocks: 39098
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Windows Server 2003 → All
Version: 14 Branch → Trunk
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Attached file video.xhtml
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.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Attachment #620902 - Attachment mime type: application/octet-stream → application/xhtml+xml
Attachment #620904 - Attachment mime type: text/plain → text/html

This issue remains active and is also reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1106160

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: