Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Reference the move primitive in DOM mutations section#341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
domfarolino wants to merge1 commit intow3c:gh-pages
base:gh-pages
Choose a base branch
Loading
fromdomfarolino:atomic-move-patch

Conversation

domfarolino
Copy link
Member

@domfarolinodomfarolino commentedOct 30, 2024
edited by pr-previewbot
Loading

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

Thewhatwg/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 freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@domfarolino

[8]ページ先頭

©2009-2025 Movatter.jp