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

https://drafts.csswg.org/css-highlight-api-1/#range-invalidation  is missing things like shadow DOM, and how is that supposed to work if the start point  has been moved in DOM to be after the end point?
All those would need to be validated during paint time, and if there are lots of highlights around, like there could be for example if one implements a spellchecker using the API, the overhead during paint time might be rather significant.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 16 February 2021 09:35:11 UTC