- From: Stephanie Zhang <notifications@github.com>
- Date: Tue, 17 Nov 2026 14:15:36 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/dom/pull/1531@github.com>
<!--
Thank you for contributing to the DOM Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
When you submit this PR, and each time you edit this comment (including checking a checkbox through the UI!), PR Preview will run and update it. As such make any edits in one go and only after PR Preview has run.
If you think your PR is ready to land, please double-check that the build is passing and the checklist is complete before pinging.
-->
Introduce OpaqueRange, a live AbstractRange subtype for range-based operations over encapsulated content without exposing internal DOM nodes. Its boundary points participate in the existing live-range mutation algorithms. The creating specification defines and maintains exposed offsets, which may differ from the internal boundary-point offsets.
This replaces #1404 and incorporates the preparations landed in #1470 and #1522. HTML defines creation for text controls, while CSSOM View defines the geometry methods. Author-facing construction for custom elements and explicit disconnection are deferred to follow-up work
- Explainer: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/OpaqueRange/explainer.md
- WHATWG Discussion: https://github.com/whatwg/html/issues/11478
- Corresponding HTML Spec PR: https://github.com/whatwg/html/pull/11741
- Corresponding CSSOM PRs:
- https://github.com/w3c/csswg-drafts/pull/12904
- https://github.com/w3c/csswg-drafts/pull/13929
- [X] At least two implementers are interested (and none opposed):
* Microsoft Edge and Chromium
* WebKit: https://github.com/WebKit/standards-positions/issues/541
* Mozilla: https://github.com/mozilla/standards-positions/issues/1289
- [X] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
* https://wpt.fyi/results/dom/ranges/tentative?label=master&label=experimental&aligned
* PR to make tests non-tentative: https://github.com/web-platform-tests/wpt/pull/63041
- [X] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
* Chromium: https://issues.chromium.org/issues/421421332
* Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1990256
* WebKit: https://bugs.webkit.org/show_bug.cgi?id=299375
- [X] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: https://github.com/mdn/browser-compat-data/pull/30715
- [X] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. <!-- If you created this PR from a single commit, Github copied its message. Otherwise, you need to add a commit message yourself. -->
(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
<!--
This comment and the below content is programmatically generated.
You may add a comma-separated list of anchors you'd like a
direct link to below (e.g. #idl-serializers, #idl-sequence):
Don't remove this comment or modify anything below this line.
If you don't want a preview generated for this pull request,
just replace the whole of this comment's content by "no preview"
and remove what's below.
-->
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/dom/pull/1531
-- Commit Summary --
* rebase on annevk's prs
-- File Changes --
M dom.bs (103)
-- Patch Links --
https://github.com/whatwg/dom/pull/1531.patch
https://github.com/whatwg/dom/pull/1531.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1531
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1531@github.com>
Received on Tuesday, 17 November 2026 22:15:40 UTC