Re: [whatwg/dom] Should Live Range expose endpoints inside a shadow tree? (Issue #1362)

domfarolino left a comment (whatwg/dom#1362)

@smaug---- astutely pointed out that `getSelection().getRangeAt(0)` will never exposed endpoints inside a shadow tree anyways: https://w3c.github.io/selection-api/#dom-selection-getrangeat. So is there even any spec change we need to make here? Regular live ranges can be collapsed inside any root they wind up in, but the selection API will never expose this, which is great. Am I missing something? I think spec-wise there might be nothing to do here.

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

Message ID: <whatwg/dom/issues/1362/2722583634@github.com>

Received on Thursday, 13 March 2025 20:11:30 UTC