Skip to content

Conversation

@domfarolino
Copy link
Member

@domfarolino domfarolino commented Oct 30, 2024

Note: I don't think is ready to merge yet; I'd consider it blocked on whatwg/dom#1307.

The whatwg/dom#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.

For normative changes, the following tasks have been completed:


Preview | Diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant