Closed
Bug 1420848
Opened 8 years ago
Closed 7 years ago
Referenced elements in SVG are behaving as if they are outside of the svg with mouseout/ mouseover
Categories
(Core :: SVG, defect, P3)
Tracking
()
RESOLVED
INVALID
People
(Reporter: info, Unassigned, NeedInfo)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
Steps to reproduce:
Added mouseover and mouseout events to referenced elements.
This should check if the element is inside the SVG.
Actual results:
The referenced elements are considered to be outside the SVG when they are actually inside when it is checked with event.originalTarget (mouseout) or event.relatedTarget (mousout)
JSFiddle: https://jsfiddle.net/amberjs/63r0kvgk/
Expected results:
When the element that is given back in event.originalTarget or event.relatedTarget is inside the svg, it should return true when checked with: svg.contains(element).
Reporter | ||
Comment 1•8 years ago
|
||
Split from https://bugzilla.mozilla.org/show_bug.cgi?id=1420380 to separate the issues.
Comment 2•8 years ago
|
||
Perhaps you could explain why (with reference to the appropriate w3c specifications) you've come to the conclusions you have about relatedTarget and originalTarget. I.e. Given that the rect is cloned why shouldn't we report against the clone?
Flags: needinfo?(info)
Updated•8 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•