[Webkit-unassigned] [Bug 66547] New: dragleave does not include e.relatedTarget
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 19 04:59:18 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66547
Summary: dragleave does not include e.relatedTarget
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://jsfiddle.net/pimvdb/HU6Mk/8/
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pimvdb at live.nl
Created an attachment (id=104491)
--> (https://bugs.webkit.org/attachment.cgi?id=104491&action=review)
Test case
Scenario:
- a drag element
- a drop target element, which has a child element
- drop target element has a 'dragleave' event bound which uses e.relatedTarget
Problem:
In the event handler for 'dragleave', 'e.relatedTarget' is null. This is unfortunate, because when dragging inside the drop target element from the parent into the child, 'e.relatedTarget' is not the parent element. As a result, it is impossible to determine whether the dragging is still happening inside the parent element or that the mouse dragged outside the parent element.
This property is available on Firefox and should be available as said in the specification:
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mouseevents
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list