[w3c/selection-api] Reference the move primitive in DOM mutations section (PR #341)

**Note:** I don't think is ready to merge yet; I'd consider it blocked on https://github.com/whatwg/dom/pull/1307.

The https://github.com/whatwg/dom/pull/1307 PR in the DOM Standard introduces a new "move" primitive, and this Selection API PR modifies this specification reference the "move" primitive in the section about responding to arbitrary DOM mutations. This PR does not specify exactly how the selection should be modified during DOM mutations, but rather obliquely references the effects that "insert" and "remove" have on the Range that the visual selection is based off of. This PR makes this more clear, by indicating that the real work relevant to the on-screen selection is delegated to the Range-updating logic in those DOM primitives, including the "move" primitive.

<!-- Please fill in the sections below when making normative changes. Feel free to remove the sections when only making non-normative changes. -->

For normative changes, the following tasks have been completed:
 * [ ] Editing WG resolution on the proposed changes, with at least two implementers participating and not objecting:
   * [ ] WebKit
   * [ ] Chromium
   * [ ] Gecko

 * [ ] For browsers that are shipping the feature, implementation bugs are filed for the proposed changes (link to bug, or write "Not Implementing"):
   * [ ] WebKit (https://bugs.webkit.org/show_bug.cgi?id=)
   * [ ] Chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=)
   * [ ] Gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=)


<!--
    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.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/domfarolino/selection-api/pull/341.html" title="Last updated on Oct 30, 2024, 7:53 PM UTC (ba037b5)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/selection-api/341/c0071c7...domfarolino:ba037b5.html" title="Last updated on Oct 30, 2024, 7:53 PM UTC (ba037b5)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/selection-api/pull/341

-- Commit Summary --

  * Reference the move primitive introduced in https://github.com/whatwg/dom/pull/1307

-- File Changes --

    M index.html (9)

-- Patch Links --

https://github.com/w3c/selection-api/pull/341.patch
https://github.com/w3c/selection-api/pull/341.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/pull/341
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/selection-api/pull/341@github.com>

Received on Wednesday, 30 October 2024 19:53:43 UTC