Closed
Bug 1481500
Opened 6 years ago
Closed 6 years ago
mouseleave shouldn't be fired but is fired on a shadow element when the mouse is moving from the shadow element to its included slotted element
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: zjz, Assigned: emilio)
References
Details
Attachments
(2 files)
Please see the testcase.html
mouseleave shouldn't be fired but is fired on a shadow element, when the mouse is moving from the shadow element to its included slotted element.
Chrome 70 works correctly in the test.
Reporter | ||
Updated•6 years ago
|
Blocks: shadowdom-dom
Assignee | ||
Comment 1•6 years ago
|
||
Thanks for the report. I can try to take a look at this, I agree it's unexpected for the mouseleave event to be fired in this case.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → emilio
Assignee | ||
Comment 2•6 years ago
|
||
We shouldn't fire mouseenter / leave based on the light tree, but the
flattened tree, the same way as the rest of the hover code works.
Assignee | ||
Updated•6 years ago
|
Attachment #8998241 -
Flags: review?(bugs)
Updated•6 years ago
|
Attachment #8998241 -
Flags: review?(bugs)
Comment 3•6 years ago
|
||
Comment on attachment 8998241 [details]
Teach EnterLeaveDispatcher about the flattened tree.
Olli Pettay [:smaug] has approved the revision.
https://phabricator.services.mozilla.com/D2866
Attachment #8998241 -
Flags: review+
Pushed by emilio@crisal.io:
https://hg.mozilla.org/integration/mozilla-inbound/rev/da8de7578878
Teach EnterLeaveDispatcher about the flattened tree. r=smaug
Comment 5•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•