Closed Bug 718654 Opened 12 years ago Closed 4 years ago

Drag Drop is working in SVG even drag drop events aren't written

Categories

(Core :: SVG, defect)

23 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: cakiroglutolga, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Build ID: 20111220165912

Steps to reproduce:

I have written a HTML5 application. It uses inline SVG also. I'm dragging an HTMLDivElement onto a div (Inline SVG tag is in this div). On drop event, I create a "rect" element in SVG. Everything works correctly until now.


Actual results:

Even I haven't written any drag drop event for that new "rect" element which is created in SVG by code, I can drag and drop it as it is that first HTMLDivElement. It doesn't happen at first drag attempt. Sometimes second, sometimes third. And generally works on only the first created SVG element.


Expected results:

Because I haven't written any event for that SVG element, it shouldn't respond to drag event.
Summary: Drag Drop is working in SVG even draggable isn't true → Drag Drop is working in SVG even drag drop events aren't written
Attached file HTML Code
I have uploaded a video to youtube about this also. http://youtu.be/tMBsQqB8Fmc
Attachment #589194 - Attachment mime type: text/plain → text/html
Status: UNCONFIRMED → NEW
Component: Untriaged → SVG
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
Hardware: x86 → All
Version: 9 Branch → 23 Branch

seems OK to me now

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: