Re: [w3c/uievents] Clearify whether `mouseover`, `mouseout`, `mouseenter` and `mouseleave` are fired or not fired when the target is removed by `mousedown` or `mouseup` (Issue #359)

> [mouseleave](https://w3c.github.io/uievents/#event-type-mouseleave)
> 
> > A [user agent](https://w3c.github.io/uievents/#user-agent) MUST also dispatch this event when the element or one of its descendants moves to be no longer underneath the primary pointing device.

Hello there 👋 

_quick derived use-case_ → what about one of the descendant, which was absolutely positioned, and thus visually not over the element boundary, is removed from the DOM. The pointer did not move, and technically the element is not underneath it.

I would expect the `mouseleave` to be fired in this case. Am i right? (spoiler it is not fired as of today)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/359#issuecomment-1854010816
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/uievents/issues/359/1854010816@github.com>

Received on Wednesday, 13 December 2023 14:23:41 UTC