Re: [whatwg/dom] Add definition for composed selection range (PR #1342)

@dizhang168 commented on this pull request.



>       to <var>bp</var>.
 
+     <li>Otherwise, if <var>bp</var> is
+     <a for="boundary point">after</a> the
+     <var>range</var>'s <a for=range>end</a>, then:
+      <ol>
+       <li>Set <var>range</var>'s <a for=range>end</a>
+       to <var>bp</var>.
+
+       <li>If <var>selection range</var> is not null,
+       set <var>selection range</var>’s
+       <a for="range">end</a> to <var>bp</var>.

disconnected means it would be in a different document. It would match 1.2 and the selection composed range will be collapsed to {nodeInDifferentTree, 0}.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1342#discussion_r1974238567
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1342/review/2648915434@github.com>

Received on Thursday, 27 February 2025 19:43:29 UTC