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

Highlight API is effectively a form of Selection API, with support for multiple Ranges, that is what Gecko has had basically forever.
It is used for example for spellchecker and IME and find, in addition to normal selection (which also supports multiple ranges - try with ctrl+mouse). So there is some experience on using Ranges. 
Doing boundary point comparisons during paint time does cause some significant performance issues currently (with WebRender because WebRender code paths haven't been optimized yet), but I'd prefer to remove all such checks from paint time.




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


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

Received on Thursday, 18 February 2021 22:51:52 UTC