- From: Sean Feng <notifications@github.com>
- Date: Thu, 14 Dec 2023 11:05:54 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 14 December 2023 19:06:00 UTC
It's unclear to me about how we want to express allowing nodes across the shadow boundary for `range` in the spec. The first example is [StaticRange](https://dom.spec.whatwg.org/#staticrange-valid) has a definition for **valid**, which specifies this StaticRange is invalid if nodes are in different tree. In the same time, `getComposedRanges()` would return invalid StaticRanges. Is this expected? The second example is `Range::SetStart` and `Range::SetEnd` would collapse nodes to one point if they are in different trees. Shouldn't we also loose this requirement since we are supporting selection across the boundary? -- Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/169 You are receiving this because you are subscribed to this thread. Message ID: <w3c/selection-api/issues/169@github.com>
Received on Thursday, 14 December 2023 19:06:00 UTC