- From: Dominic Farolino <notifications@github.com>
- Date: Tue, 28 Jan 2025 07:47:14 -0800
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 28 January 2025 15:47:18 UTC
@domfarolino commented on this pull request.
> @@ -127,6 +128,20 @@ <h2>
dev do not. We follow Gecko/WebKit, because it lessens the chance of
getRangeAt(0) throwing.
</p>
+ <p>To <dfn>reset the range</dfn> of [=this=], given the
+ <a>boundary point</a> <var>start</var> and <a>boundary point</a>
+ <var>end</var>, run these steps:
+ </p>
+ <ol>
+ <li>Let <var>newCachedRange</var> be a new {{Range}} object.</li>
I think I would just remove the dfn of range that you introduced here. We already know the type of "composed live range", once it's able to link to DOM.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/pull/345#discussion_r1932416943
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/selection-api/pull/345/review/2578689663@github.com>
Received on Tuesday, 28 January 2025 15:47:18 UTC