[Webkit-unassigned] [Bug 108021] WebKit provides wrong dropEffect on dragend/drop events

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 27 02:03:20 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108021





--- Comment #3 from danya.postfactum at gmail.com  2013-01-27 02:05:16 PST ---
Created an attachment (id=184905)
 --> (https://bugs.webkit.org/attachment.cgi?id=184905&action=review)
Testcase for wrong dropEffect on drop event

Open attachment, select the text you see in the document, drag and drop it in any place on document.
Browser should output dropEffect: copy. Instead webkit-based browsers output dropEffect: none

dragstart handler sets dataTransfer.effectAllowed to 'copyMove'. dragover handler sets dropEffect to 'copy'.
According to http://dev.w3.org/html5/spec-preview/dnd.html#dom-dragevent-datatransfer , browser should set dropEffect attribute "to the value corresponding to the current drag operation if e is drop or dragend;"
Since current drag operation is 'copy' (defined according to dropEffect), webkit provides 'none', what is the current issue.

Firefox, Opera work as expected. IE also has this bug.

Thanks for attention.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list