Re: [w3c/selection-api] `anchorNode` & `focusNode` can never be in shadow tree? (Issue #361)

annevk left a comment (w3c/selection-api#361)

Selection is not allowed to bypass encapsulation so if the selection is returned from `window.getSelection()` you should not be able to get shadow root nodes from it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/361#issuecomment-5632373000
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/selection-api/issues/361/5632373000@github.com>

Received on Friday, 11 September 2026 09:25:31 UTC