Re: [w3c/selection-api] Change `getComposedRanges`'s `shadowRoots` parameter from rest parameter to a dictionary (Issue #176)

I think that's a prototype implementation, though, right? The spec hasn't been reviewed by another implementer that I know of. Or perhaps Mozilla did?

Anyway, this seems reasonable. We will now have this pattern three places, `getHTML()`, `caretPositionFromPoint()`, and here with `getComposedRanges()` - it would be good if they all followed the same pattern.

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

Message ID: <w3c/selection-api/issues/176/2120814634@github.com>

Received on Monday, 20 May 2024 16:43:16 UTC