Skip to content

Fix #79968: Manipulation on unattached DOMChildNode should throw DOMException #5990

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

Conversation

beberlei
Copy link
Contributor

@beberlei beberlei commented Aug 15, 2020

This fixes https://bugs.php.net/bug.php?id=79968

Missing logic implemented from specification:

node . before(...nodes)

    Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes.

    **Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated.**

@beberlei
Copy link
Contributor Author

Fixed in 9f6820f

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.

2 participants