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

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

I agree with that, but a question here is that would changing the behavior break lots of sites. I guess we need some telemetry.
And if we do retargeting, what kind of retargeting? selection is a weird beast, where APIs tend to deal with DOM tree, but visually it is a flat tree (and because of slots and such, ordering in those trees might be different).

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

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

Received on Thursday, 8 October 2026 14:27:01 UTC