[whatwg/dom] Need clarification with `MouseEvent::mouseleave` (Issue #1399)

yezhizhen created an issue (whatwg/dom#1399)

### What is the issue with the DOM Standard?

It would be nice to clarify in current [spec](https://w3c.github.io/uievents/#event-type-mouseleave) what happens when

1. mouse move out of viewport
2. When the mouse is static, but I swap to another window with shortcut.

For both case 1 & 2, I see 
- FireFox not firing `mouseleave` event.
- Chromium fires `mouseleave` event

But for [mouseout](https://w3c.github.io/uievents/#event-type-mouseout) event, the behaviour is consistent as spec is quite clear.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1399
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1399@github.com>

Received on Saturday, 16 August 2025 16:14:53 UTC