Re: [whatwg/dom] Should Live Range expose endpoints inside a shadow tree? (Issue #1362)

domfarolino left a comment (whatwg/dom#1362)

But aren't the two problems separate? Not all browsers even ship `getComposedRanges()` and there's no spec infra to support it. Separately, we have the problem of 2/3 browsers exposing shadow roots through `getRangeAt(0)`, and "fixing" it doesn't rely on the `getComposedRange()` spec work—it's just a decision we need to make based on compat risk.

That's what makes the two seem cosmetically similar, but actually quite separate in terms of feasibility. It'd be a shame to hold the former hostage to the latter, which has more compat risk than the former, and doesn't seem to depend on it either. Do you think it would be possible to land spec infra in DOM that supports `getComposedRanges()` before tackling this issue?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/1362#issuecomment-2694918040
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/issues/1362/2694918040@github.com>

Received on Monday, 3 March 2025 16:22:44 UTC