Bug 24132

Summary: Cannot drag text
Product: WebKit Reporter: Eric G <ericgorr>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, dbates, ddkilzer, oliver
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
test case none

Description Eric G 2009-02-24 13:24:56 PST
I have a test site at:

http://ericgorr.net/safaritest.html

Basically, what I would like to be able to do is drag some text. As best I can determine, the correct method for making this happen hasn't changed since I first reported the problem in 2006.

The first text span on the test site used to be draggable in Safari 2.x, but ceased being so in Safari 3.x and still isn't with the latest release of Safari 4.x.

Please see the following threads:

https://lists.webkit.org/pipermail/webkit-dev/2009-February/006771.html
http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00064.html
http://bytes.com/groups/javascript/550644-javascript-drag-drop

for more history
Comment 1 Eric G 2009-02-24 13:39:29 PST
Created attachment 27930 [details]
test case

Should live indefinitely at http://ericgorr.net/safaritest.html
Comment 2 Eric G 2009-02-24 13:40:00 PST
rdar://problem/4792468
Comment 3 Daniel Bates 2009-10-16 18:28:30 PDT
Seems to work in the current nightly (r49701). Can you confirm?

(In reply to comment #0)
> I have a test site at:
> 
> http://ericgorr.net/safaritest.html
> 
> Basically, what I would like to be able to do is drag some text. As best I can
> determine, the correct method for making this happen hasn't changed since I
> first reported the problem in 2006.
> 
> The first text span on the test site used to be draggable in Safari 2.x, but
> ceased being so in Safari 3.x and still isn't with the latest release of Safari
> 4.x.
> 
> Please see the following threads:
> 
> https://lists.webkit.org/pipermail/webkit-dev/2009-February/006771.html
> http://lists.apple.com/archives/webkitsdk-dev/2006/Oct/msg00064.html
> http://bytes.com/groups/javascript/550644-javascript-drag-drop
> 
> for more history
Comment 4 Eric G 2009-10-16 20:55:26 PDT
Confirmed. It appears to be working as expected now.

Is this a deliberate fix? 
Has making sure this continues to work been added to a test suite?

(I'd like to know that it will remain fixed.)
Comment 5 Oliver Hunt 2009-12-06 13:39:50 PST
We've made a number of drag and drop fixes (including this apparently) all those fixes should have regression tests to ensure that we don't break again.