Skip to content

Conversation

@dandclark
Copy link
Contributor

Specify that when painting a document, the associated HighlightRegistry's ranges that are positioned in a different document are not painted.

Also, fix a bug: the "no longer in a document tree" check excluded ranges positioned inside a shadow tree, which is probably not what we want. Using the shadow-including root instead fixes this.

Closes #6417.

@dandclark dandclark requested review from frivoal and sanketj August 5, 2021 23:15
@sanketj sanketj merged commit 30c6f1b into w3c:main Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-highlight-api] Specifying behavior for Highlights involving multiple documents

2 participants