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)

Current agreements in https://github.com/web-platform-tests/interop/issues/380:

* Neither `mouseout` event nor `mouseleave` event should be fired on the removed node(s)
* The last `mouseenter` targets should be kept even after the last `mouseover` target is removed, thus, the pairs of `mouseenter` and `mouseleave` are kept and can prevent redundant `mouseenter` events on the ancestors.

I also added [a new WPT](https://github.com/web-platform-tests/wpt/blob/master/uievents/mouse/mouse_boundary_events_after_removing_last_over_element.html) for testing the mouse boundary events at first `mousemove` after a `click` event listener removes its target. Its result is [here](https://wpt.fyi/results/uievents/mouse/mouse_boundary_events_after_removing_last_over_element.html?label=master&label=experimental&aligned).

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

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

Received on Monday, 29 January 2024 00:53:47 UTC