W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

[csswg-drafts] Pull Request: [css-highlight-api-1] Don't paint ranges positioned in a different window #6417

From: Dan Clark via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Aug 2021 23:15:11 +0000
To: public-css-archive@w3.org
Message-ID: <pull_request.opened-705080566-1628205310-sysbot+gh@w3.org>
dandclark has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-highlight-api-1] Don't paint ranges positioned in a different window #6417 ==
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](https://dom.spec.whatwg.org/#in-a-document-tree)" check excluded ranges positioned inside a shadow tree, which is probably not what we want. Using the [shadow-including root](https://dom.spec.whatwg.org/#concept-shadow-including-root) instead fixes this.

Closes #6417.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 5 August 2021 23:15:13 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC