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

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