Bug 69165

Summary: [HTML5] Drag and drop: setDragImage does not work immediately
Product: WebKit Reporter: Rafał Miłecki <zajec5>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: barraclough, ian, wenson_hsieh
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Bug testcase none

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.