[pointerevents] MouseEvent.fromElement/toElement (#605)

cvrebert has just created a new issue for https://github.com/w3c/pointerevents:

== MouseEvent.fromElement/toElement ==
Consider either spec'ing ~~or trying to kill~~ `MouseEvent.fromElement` & `MouseEvent.toElement`. Here's the current (in)compatibility situation:

| Events | Chrome+Safari | EdgeHTML | Firefox |
| --- | --- | --- | --- |
| `mouseenter`/<br>`mouseleave`/<br>`mouseover`/<br>`mouseout` | `fromElement` & `toElement` | `fromElement` & `toElement` | Neither |
| `click` | `toElement` only | Neither | Neither |

Docs:
* http://www.quirksmode.org/js/events_mouse.html#relatedtarget
* https://web.archive.org/web/20140807051113/https://msdn.microsoft.com/en-us/library/ms533773(v=vs.85).aspx
* https://web.archive.org/web/20170930214148/https://msdn.microsoft.com/en-us/library/ms534684(v=vs.85).aspx

Testcase: http://jsbin.com/vivigi/edit?html,js,output


Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/605 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 12 January 2026 22:04:12 UTC