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

@dizhang168 commented on this pull request.



>  
 <p class=note>Algorithms that modify a <a>tree</a> (in particular the <a for=/>insert</a>,
 <a for=/>remove</a>, <a>replace data</a>, and <a lt="split a Text node">split</a> algorithms) modify
-<a>live ranges</a> associated with that <a>tree</a>.
+<a>live ranges</a> associated with that <a>tree</a>.</p>
+
+<p>A <dfn export id=concept-composed-selection-range>composed selection range</dfn> is a
+<a>live range</a> that has an associated {{Range}} object, a
+<dfn export id=concept-legacy-selection-range for="composed selection range">legacy selection range</dfn>.</p>

Listing the naming options:
1. "composed live range" and "cached live range"
2. "composed selection range" and "legacy selection range"
3. "composed-tree selection range" and "same-tree selection range"
4. "composed selection range" and "same-tree selection range"
5. "composed selection range" and "selection range"

All these names seem ok to me, I will let the majority decide.

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

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

Received on Thursday, 27 February 2025 00:27:15 UTC