Open
Bug 595874
Opened 15 years ago
Updated 3 years ago
When dragging a element inside a contenteditable div ondrag and ondragend are not called.
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: hoch, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
271 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.125 Safari/533.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.9) Gecko/20100824 Firefox/3.6.9 ( .NET CLR 3.5.30729)
When I move a img-Tag inside a contenteditable div. The dragstart event is fired, but neither drag nor dragend are.
Reproducible: Always
Steps to Reproduce:
1. Open Firebug.
2. Move img-Tag from the html example below.
3.
Actual Results:
Only ondragstart is executed.
Expected Results:
All three event-handlers should be called.
<div spellcheck="false" contenteditable="true">
<p>asdf</p>
<img ondragstart="console.log('start'); return true;" ondrag="console.log('drag'); return true;" ondragend="console.log('end');" src="somepic.jpg" />
<p>asdf</p>
</div>
Comment 1•15 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•