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

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

From: smaug---- via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Aug 2021 10:18:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-908223745-1630318705-sysbot+gh@w3.org>
It is unclear to me from the resolution how using Static Ranges works if one modifies DOM. If one has 2 sibling nodes, and a StaticRange selecting them both, and then one add a new node between those siblings, StaticRange would select the first two ones, but not the last node, yet it is the last node which the user of the API wanted to be selected. Rather odd API behavior.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 30 August 2021 10:18:29 UTC

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