Bug 11825

Summary: REGRESSION: Dragging of elements via -khtml-user-drag is broken
Product: WebKit Reporter: Dave Hyatt <hyatt>
Component: CSSAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal Keywords: Regression
Priority: P1    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Put paintingRootForChildren code back in. oliver: review+

Description Dave Hyatt 2006-12-13 23:25:07 PST
This example is broken:

<div style="background-color:rgba(200,200,200,0.5); -khtml-user-drag:element; -khtml-user-select:none; opacity:0.8">Test</div>

This feature is used by Dashboard, so breaking it is bad.

Docs here:

http://developer.apple.com/documentation/AppleApplications/Conceptual/SafariJSProgTopics/Tasks/DragAndDrop.html

The background paints, but the foreground text doesn't.
Comment 1 Dave Hyatt 2006-12-13 23:29:03 PST
Oops, remove opacity:0.8 to see the regression.   Adding opacity actually fixes the problem.
Comment 2 Dave Hyatt 2006-12-13 23:59:25 PST
Created attachment 11836 [details]
Put paintingRootForChildren code back in.

I have no idea how/if this code got yanked (haven't really investigated), but here's the fix.
Comment 3 Dave Hyatt 2006-12-14 00:04:16 PST
Fixed.
Comment 4 David Kilzer (:ddkilzer) 2006-12-14 03:15:59 PST
(In reply to comment #3)
> Fixed.

r18208