Re: [whatwg/dom] Option to allow `querySelector` to query shadow roots (Issue #1422)

jakearchibald left a comment (whatwg/dom#1422)

I don't know if there's support for landing it, but in terms of API design it might be worth looking at things like https://developer.mozilla.org/en-US/docs/Web/API/Selection/getComposedRanges which take an array of shadow roots. There isn't a way to include all open shadow roots there - I wonder if that was a deliberate choice and if the reasons are documented.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1422#issuecomment-3804193537
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1422/3804193537@github.com>

Received on Tuesday, 27 January 2026 09:52:04 UTC