Skip to content

Add disconnect() method#1310

Merged
leotlee merged 2 commits intoMicrosoftEdge:mainfrom
stephanieyzhang:user/stzhang/disconnect
Apr 29, 2026
Merged

Add disconnect() method#1310
leotlee merged 2 commits intoMicrosoftEdge:mainfrom
stephanieyzhang:user/stzhang/disconnect

Conversation

@stephanieyzhang
Copy link
Copy Markdown
Member

Adds disconnect() method based on feedback from the [DOM spec] (whatwg/dom#1404 (comment)) and notes element/removal/ type changes disconnect associated ranges per the HTML spec

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Member

@anaskim anaskim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just minor nits.

Comment thread OpaqueRange/explainer.md Outdated
Comment thread OpaqueRange/explainer.md Outdated
@leotlee leotlee merged commit 67e9972 into MicrosoftEdge:main Apr 29, 2026
1 check passed
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.

3 participants