Commit graph

1 commit

Author SHA1 Message Date
Tim Starling
781e6b4d21
Fix O(N) performance of DOMNode::replaceChild() and DOMNode::removeChild()
Don't loop over all children to determine if the target node really is a
child, just trust the parent pointer. Add tests.
2021-09-14 15:30:34 +02:00