- From: Stephanie Zhang <notifications@github.com>
- Date: Wed, 04 Feb 2026 10:11:36 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 4 February 2026 18:11:40 UTC
@stephanieyzhang commented on this pull request.
> +{{AbstractRange/endContainer}} getters return null, and its {{AbstractRange/startOffset}} and
+{{AbstractRange/endOffset}} getters return indices into that string.</p>
+
+<p>A {{PlainTextRange}} has associated state:</p>
+
+<ul>
+ <li><p><dfn export for=PlainTextRange id=plaintext-range-host>host</dfn> (null or an
+ {{Element}}).</p></li>
+ <li><p><dfn export for=PlainTextRange id=plaintext-range-start>start offset</dfn> (a non-negative
+ integer).</p></li>
+ <li><p><dfn export for=PlainTextRange id=plaintext-range-end>end offset</dfn> (a non-negative
+ integer).</p></li>
+</ul>
+
+<p>The {{AbstractRange/startContainer}} getter steps for {{PlainTextRange}} objects are to return
+null.</p>
Thanks -- updated the AbstractRange IDL/getters. I omitted an explicit “opaque switch” since I assumed it’s an implementation detail, but I can add spec text if you think it’s needed.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1404#discussion_r2765059477
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1404/review/3752255076@github.com>
Received on Wednesday, 4 February 2026 18:11:40 UTC