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

@dizhang168 commented on this pull request.



> @@ -7911,10 +7919,10 @@ range.setEnd(secondText, 4)
 <a for=/>nodes</a>.
 
 <p>{{Range}} objects, unlike {{StaticRange}} objects, are affected by mutations to the
-<a>node tree</a>. Therefore they are also known as <a>live ranges</a>. Such mutations will not
-invalidate them and will try to ensure that it still represents the same piece of content.
-Necessarily, a <a>live range</a> might itself be modified as part of the mutation to the
-<a>node tree</a> when, e.g., part of the content it represents is mutated.
+<a>node tree</a>. Therefore they are <a>live ranges</a>. Such mutations will not invalidate them and
+will try to ensure that it still represents the same piece of content. Necessarily, a
+<a>live range</a> might itself be modified as part of the mutation to the <a>node tree</a> when,
+e.g., part of the content it represents is mutated.

The only change is to remove "also known as", as I felt that was implying only {{Range}} objects are considered live ranges. Re-reading and this change is probably not necessary.

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

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

Received on Tuesday, 28 January 2025 22:42:03 UTC