- From: smaug---- <notifications@github.com>
- Date: Mon, 03 Mar 2025 11:38:23 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 3 March 2025 19:38:27 UTC
smaug---- left a comment (whatwg/dom#1362) https://github.com/mfreed7/shadow-dom-selection?tab=readme-ov-file#changes-to-existing-selection-apis has the section for `Selection.getRangeAt()` and that behavior makes sense. Not sure about the "Mutability of live ranges returned from getRangeAt()" part. That is a bit vague. But what happens currently if getRangeAt(0) range is modified so that its boundary points point to a subtree which doesn't have document as root? I'd expect the range to be removed from selection, and that is how I'd expect the range to work also if one tries to set its boundary points to point to shadow DOM. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1362#issuecomment-2695366438 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1362/2695366438@github.com>
Received on Monday, 3 March 2025 19:38:27 UTC