W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

Re: [csswg-drafts] [cssom-view] Specify `document.caretRangeFromPoint`? (#6459)

From: Philip Jägenstedt via GitHub <sysbot+gh@w3.org>
Date: Tue, 20 Jul 2021 12:28:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-883352666-1626784079-sysbot+gh@w3.org>
It seems like the current situation is that Chromium and WebKit have `caretRangeFromPoint` while Gecko has `caretPositionFromPoint`.

Spec'ing `caretRangeFromPoint` and `caretPositionFromPoint` one in terms of the other in a way that would be trivial for all engines to support sounds like the best path forward to me.

There is a risk that these methods are used for UA detection, but other than that I don't see other risks.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 20 July 2021 12:28:02 UTC

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