Re: [w3c/selection-api] Add `selectionRoot` option to getComposedRanges parameter options (Issue #180)

Conversation about the `selectionRoot` argument is found roughly here:

https://github.com/WICG/webcomponents/issues/79#issuecomment-962013007

Also note that providing `selectionRoot` automatically adds the containing shadow root to `shadowRoots` so that only the one argument is required in the common use case that a web component wants to just manage selections within its shadow.

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

Message ID: <w3c/selection-api/issues/180/2253576264@github.com>

Received on Friday, 26 July 2024 22:12:29 UTC