- From: Ryosuke Niwa <notifications@github.com>
- Date: Mon, 04 Nov 2024 00:18:52 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 4 November 2024 08:18:56 UTC
So in terms of the actual API shape, I'm thinking that we want some kind of a way to query across shadow boundaries because iterating over each element and checking the existence of a shadow root is rather expensive. Maybe this could be a new option to `querySelector` & `querySelectorAll`? e.g. `querySelector(':host', {composed: true})`. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1321#issuecomment-2454065576 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1321/2454065576@github.com>
Received on Monday, 4 November 2024 08:18:56 UTC