Re: [csswg-drafts] [cssom-view] Behavior of MouseEvent.offsetX/Y with inline elements is inconsistent across browsers (#5659)

> Do you have compelling examples for use cases where the specified behavior is better than what Chromium and WebKit happen to do?

Absolutely. `mouseenter` on a normal link element, returns the offset from the link itself in Firefox, and from the nearest block element (e.g. some grandparent `p`) in Chrome/Safari. "Nearest block ancestor" is not something that you'd expect from any DOM reading.


-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5659#issuecomment-721288195 using your GitHub account


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

Received on Tuesday, 3 November 2020 18:00:40 UTC