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

Fix queuing of mutation records when removing a node from its parent #122

Closed
wants to merge 1 commit into from

Conversation

nox
Copy link
Member

@nox nox commented Nov 26, 2015

The old next sibling of the node needs to be stored somewhere before removing
the node from its parent.

The old next sibling of the node needs to be stored somewhere before removing
the node from its parent.
@annevk
Copy link
Member

annevk commented Nov 27, 2015

Can we use oldPreviousSibling's next sibling?

@nox
Copy link
Member Author

nox commented Nov 27, 2015

@annevk That makes things more complex. There could be no oldPreviousSibling, in which case we would need the parent's first child.

@annevk annevk closed this in 9202ada Nov 27, 2015
@annevk
Copy link
Member

annevk commented Nov 27, 2015

Thank you!

nox added a commit to nox/dom that referenced this pull request Nov 30, 2015
A node's next sibling needs to be stored before removing the node
from its parent.
@nox nox deleted the remove-oldnextsibling branch December 15, 2015 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants