Index: Source/WebCore/rendering/RenderListItem.cpp |
=================================================================== |
--- Source/WebCore/rendering/RenderListItem.cpp (revision 127656) |
+++ Source/WebCore/rendering/RenderListItem.cpp (working copy) |
@@ -83,6 +83,13 @@ |
updateListMarkerNumbers(); |
} |
+void RenderListItem::willBeRemovedFromTree() |
+{ |
+ RenderBlock::willBeRemovedFromTree(); |
+ |
+ updateListMarkerNumbers(); |
+} |
+ |
static bool isList(Node* node) |
{ |
return (node->hasTagName(ulTag) || node->hasTagName(olTag)); |