Bug 69165 - [HTML5] Drag and drop: setDragImage does not work immediately
Summary: [HTML5] Drag and drop: setDragImage does not work immediately
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-30 13:10 PDT by Rafał Miłecki
Modified: 2017-09-21 11:26 PDT (History)
3 users (show)

See Also:


Attachments
Bug testcase (1.78 KB, text/html)
2011-09-30 13:10 PDT, Rafał Miłecki
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Miłecki 2011-09-30 13:10:18 PDT
Created attachment 109335 [details]
Bug testcase

I've originally reported this issue in:
Message-ID: <CACna6rzq6C5ZcmNK5D77fFsdCYdVYz11z9RYZBSKpCCNgr-EUQ@mail.gmail.com>

What I want to achieve:
Slightly different look of dragged element (the original one) and drag feedback (the one under the cursor).

How I try to do this:
I call event.setDragImage(...) *before* restyling original element. I expect browser to create drag feedback using old styles and *after that* apply new styles for original element.

Please see the attachment for details.
Comment 1 Alexey Proskuryakov 2011-09-30 23:10:54 PDT
See also: bug 27670, bug 28381.