Re: [w3c/selection-api] `Selection.direction`'s behavior should be based on the node's position (Issue #334)

> > Selection behavior is tied to the underlying platform's behavior / convention.
> 
> I'm not sure whether you are talking about the direction or the selection's behavior. I'm completely fine with the selection's behavior, my concern is that I will not be able to determine the anchor and focus node within a ShadowRoot.

What do you mean by that? Selection direction is neither forward nor backward when a user selects text with a mouse on macOS, and anchor & focus are not well defined in such cases.

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

Message ID: <w3c/selection-api/issues/334/2292497207@github.com>

Received on Friday, 16 August 2024 00:18:50 UTC