Index: Source/core/html/HTMLOListElement.cpp |
diff --git a/Source/core/html/HTMLOListElement.cpp b/Source/core/html/HTMLOListElement.cpp |
index 03675516a07b026b48c3e4c96dfb38d4d45bef16..f13880c80d847d420c38ada710a873eece5ca8bb 100644 |
--- a/Source/core/html/HTMLOListElement.cpp |
+++ b/Source/core/html/HTMLOListElement.cpp |
@@ -100,6 +100,9 @@ void HTMLOListElement::setStart(int start) |
void HTMLOListElement::updateItemValues() |
{ |
+ if (!renderer()) |
+ return; |
+ document().updateDistributionForNodeIfNeeded(this); |
RenderListItem::updateItemValuesForOrderedList(this); |
} |