Index: Source/WebCore/dom/ContainerNode.cpp |
=================================================================== |
--- Source/WebCore/dom/ContainerNode.cpp (revision 109354) |
+++ Source/WebCore/dom/ContainerNode.cpp (working copy) |
@@ -479,13 +479,13 @@ |
Node* next = child->nextSibling(); |
removeBetween(prev, next, child.get()); |
+ childrenChanged(false, prev, next, -1); |
+ |
if (child->inDocument()) |
child->removedFromDocument(); |
else |
child->removedFromTree(true); |
- // Dispatch post-removal mutation events |
- childrenChanged(false, prev, next, -1); |
dispatchSubtreeModifiedEvent(); |
return child; |