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

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