[Webkit-unassigned] [Bug 16646] New: No way to prevent dragging of Images from SVGs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 28 13:05:52 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16646

           Summary: No way to prevent dragging of Images from SVGs
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
               URL: http://people.mozilla.com/~vladimir/demos/photos.svg
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org


No way to prevent dragging of Images from SVGs

http://people.mozilla.com/~vladimir/demos/photos.svg
We allow the user to drag images from photos.svg, which is not what the author
intended.  The author makes no attempt to prevent us from doing so, but we
don't offer him a way to do so even if he wanted to.

In HTML you prevent image drag using:
ondragstart="return false;" (borrowed from IE)
This doesn't actually work in FireFox however.

And in SVG we don't sign up for any ondragstart listener.

Maybe there is some other way to prevent image drags that I'm missing here?  I
don't think copying the ondragstart IE behavior into SVG makes much sense.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list