Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest specs, add StaticRange and replaceChildren #129

Closed
wants to merge 3 commits into from

Conversation

bwrrp
Copy link
Owner

@bwrrp bwrrp commented Jan 31, 2021

This should probably not be merged while whatwg/dom#819 is pending, as the changes to adoption in the insertion algorithm seem to have caused a few issues. For now, I've had to add a non-standard if (previousSibling === node) check in insertNode as a work-around to make our tests pass - without that parent.insertBefore(child, child) would result in an incorrect previousSibling on the mutation record.

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