Bug 35475

Summary: Links do not respect -webkit-user-drag: none
Product: WebKit Reporter: mitz
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: data:text/html,<a href="#" style="-webkit-user-drag: none;">should be undraggable</a>
Attachments:
Description Flags
Disallow dragging links with -webkit-user-drag: none; mjs: review+

Description mitz 2010-02-27 04:13:40 PST
<rdar://problem/7696607>

Links can be dragged even when -webkit-user-darg: none; is specified.
Comment 1 mitz 2010-02-27 04:14:48 PST
Created attachment 49680 [details]
Disallow dragging links with -webkit-user-drag: none;

This also fixes <img style="-webkit-user-drag: none;">.
Comment 2 Maciej Stachowiak 2010-02-27 04:21:18 PST
Comment on attachment 49680 [details]
Disallow dragging links with -webkit-user-drag: none;

> The link drag check now chekcs that the link is not undraggable.

Please don't fail to avoid double negatives. (Though I see this does literally match what the corresponding line of code says.)

r=me
Comment 3 mitz 2010-02-27 04:43:28 PST
Fixed in <https://bugs.webkit.org/show_bug.cgi?id=35475>.
Comment 4 mitz 2010-02-27 04:44:12 PST
Err… fixed in <http://trac.webkit.org/projects/webkit/changeset/55353>