W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

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

From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Nov 2020 18:00:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-721288195-1604426438-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC