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

@annevk commented on this pull request.



> @@ -8141,12 +8149,21 @@ interface Range : AbstractRange {
 };
 </pre>
 
-<p>Objects implementing the {{Range}} interface are known as
-<dfn export id=concept-live-range>live ranges</dfn>.
+<p>A <dfn export id=concept-live-range>live range</dfn> is a <a>range</a> that is affected by
+mutations to the <a>node tree</a>.</p>
+
+<p>Objects implementing the {{Range}} interface are <a>live ranges</a>.

Redefining live range seems potentially problematic: https://dontcallmedom.github.io/webdex/l.html#live%20ranges%40%40dom%25%25dfn

We'd also have to go through all callers in the DOM specification to be sure this doesn't break anything.

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

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

Received on Thursday, 13 February 2025 16:51:16 UTC