You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://dom.spec.whatwg.org/#concept-node-replace
12. If child’s parent is not null, set removedNodes to a list solely containing child and remove child from its parent with the suppress observers flag set. << first "parent" and "remove" should not be linked? Especially for "remove" because I don't know if you mean "remove algo" or direct term.
And have another question, why in step 13. we again remove child from its parent? We have it in step 12, or, if child is same as node, then removing from parent is done in step 10. via "adopt algo" (https://dom.spec.whatwg.org/#concept-node-adopt).
The text was updated successfully, but these errors were encountered:
https://dom.spec.whatwg.org/#concept-node-replace
12. If child’s parent is not null, set removedNodes to a list solely containing child and remove child from its parent with the suppress observers flag set. << first "parent" and "remove" should not be linked? Especially for "remove" because I don't know if you mean "remove algo" or direct term.
And have another question, why in step 13. we again remove
child
from itsparent
? We have it in step 12, or, ifchild
is same asnode
, then removing fromparent
is done in step 10. via "adopt algo" (https://dom.spec.whatwg.org/#concept-node-adopt).The text was updated successfully, but these errors were encountered: