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

Re: [csswg-drafts] [css-highlight-api] invalidation of static ranges (#4597)

From: Dan Clark via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Aug 2021 17:25:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-907357815-1630085141-sysbot+gh@w3.org>
A good approach might be to try to land the steps in https://github.com/whatwg/dom/issues/947 into the DOM spec (I can work on that), and update the Highlight API to reference that. It could be useful to have those steps in DOM where they can be referenced by other potential users of StaticRange.

One difference between those steps and the current Highlight API spec text is that those steps consider a StaticRange to be invalid if the start boundary is after the position of the end boundary. I think that's a good addition.

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 27 August 2021 17:25:44 UTC

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