- From: erosman via GitHub <noreply@w3.org>
- Date: Mon, 02 Feb 2026 13:16:27 +0000
- To: public-css-archive@w3.org
> And for comparison to the slower, more verbose code one might have now:
>
> * today: `Array.from(document.querySelectorAll('*')).filter(n => n.shadowRoot)`
Please also note that there are nested shadow DOM instances which require recursive search. e.g. [cookies.set()](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/cookies/set#browser_compatibility)
--
GitHub Notification of comment by erosman
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11007#issuecomment-3835066704 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 2 February 2026 13:16:28 UTC