Re: [w3ctag/design-reviews] document.caretPositionFromPoint API in shadow DOM scenario (Issue #949)

Thank you for being responsive to our feedback.

Indeed, consistency is a good point, though depending on the use cases, it could end up being a good choice to change *both* of these methods. Therefore, it would still be good to list use cases (starting with *user needs*).

Nevertheless, we see a `shadowRoots` argument as a low-level primitive that could later be expanded so it's ok to start from it, especially if it has already shipped in other methods. I would reiterate that `elementFromPoint()` could also be expanded in the same way for consistency (and I suspect there are plenty of use cases for that too).

It's great to see support from additional implementers.

We’re going to go ahead and close this. Thank you for flying TAG!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/949#issuecomment-2186090703
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/949/2186090703@github.com>

Received on Monday, 24 June 2024 09:53:51 UTC