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

NEW
Unassigned

Status

()

Core
SVG
7 years ago
3 years ago

People

(Reporter: tolga, Unassigned)

Tracking

23 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

2.09 KB, text/html
Details
(Reporter)

Description

7 years ago
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.
(Reporter)

Updated

7 years ago
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
(Reporter)

Comment 1

7 years ago
Created attachment 589194 [details]
HTML Code
(Reporter)

Comment 2

7 years ago
I have uploaded a video to youtube about this also. http://youtu.be/tMBsQqB8Fmc

Updated

7 years ago
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
You need to log in before you can comment on or make changes to this bug.