- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 31 Aug 2021 03:56:58 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 31 August 2021 10:57:10 UTC
@annevk commented on this pull request. > @@ -7650,6 +7650,20 @@ constructor steps are: <var>init</var>["{{StaticRangeInit/endOffset}}"]). </ol> +<p>A {{StaticRange}} is <dfn for=StaticRange export>valid</dfn> if all of the following are true: + +<ul> + <li><p>Its <a for=range>start</a> and <a for=range>end</a> are in the same <a>node tree</a>. + + <li><p>Its <a for=range>start offset</a> is between 0 and its <a for=range>start node</a>'s + <a>length</a>, inclusive. + + <li><p>Its <a for=range>end offset</a> is between 0 and its <a for=range>end node</a>'s + <a>length</a>, inclusive. + + <li><p>Its <a for=range>start</a> is <a for="boundary point">before</a> or + <a for="boundary point">equal</a> to its <a for=range>end</a>. +</ul> ```suggestion </ul> ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1009#pullrequestreview-742576691
Received on Tuesday, 31 August 2021 10:57:10 UTC