[csswg-drafts] Pull Request: [css-highlights-api] Restore check that range is in same document as the HighlightRegistry

dandclark has just labeled a pull request from dandclark for https://github.com/w3c/csswg-drafts as "css-highlight-api-1":

== [css-highlights-api] Restore check that range is in same document as the HighlightRegistry ==
This check was removed in https://github.com/w3c/csswg-drafts/commit/7e65e3821d011e3bd29b8aca6e8bb9d5a223bca5, but it's still needed per the resolution of #6417, which was that we should not paint ranges from documents other than the one associated with the current highlight registry.

This is separate from the validity question, because a range in a different document can be valid (or it could be a live range), but we still shouldn't paint it.

See https://github.com/w3c/csswg-drafts/pull/6585


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

Received on Wednesday, 8 September 2021 19:04:32 UTC