[whatwg/dom] Add definition for composed live range (PR #1342)

As discussed at TPAC 2024, the specification for the new getComposedRanges() API need the introduction of the new definition "Composed live range" [1], which should react to mutations. This PR attempts to define that new concept. Once landed, we will add the spec language that uses composed live range in the Selection API. An overview of the spec changes necessary can be found at [2].

[1] https://github.com/w3c/selection-api/issues/2#issuecomment-2427784793
[2] https://github.com/dizhang168/shadow-dom-selection/blob/main/selection-api-spec-changes.md

- [x] At least two implementers are interested (and none opposed):
   * Chromium: Positive
   * Webkit: Positive (https://github.com/mozilla/standards-positions/issues/1055)
   * Gecko: Positive (https://github.com/WebKit/standards-positions/issues/376)
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * … <!-- If these tests are tentative, link a PR to make them non-tentative. -->
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: …
   * Deno (only for aborting and events): …
   * Node.js (only for aborting and events): …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
- [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.)

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/dom/pull/1342

-- Commit Summary --

  * Add definition for composed live range

-- File Changes --

    M dom.bs (69)

-- Patch Links --

https://github.com/whatwg/dom/pull/1342.patch
https://github.com/whatwg/dom/pull/1342.diff

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

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

Received on Tuesday, 17 December 2024 23:56:33 UTC