Index: Source/core/css/CSSCounterValue.cpp |
diff --git a/Source/core/css/CSSCounterValue.cpp b/Source/core/css/CSSCounterValue.cpp |
index 6a1f0698768175dd1086da613b091acc7504ae67..3e853d37b82d8806a5ddfea997f239eb6a9c2dfc 100644 |
--- a/Source/core/css/CSSCounterValue.cpp |
+++ b/Source/core/css/CSSCounterValue.cpp |
@@ -23,10 +23,10 @@ String CSSCounterValue::customCSSText() const |
result.appendLiteral(", "); |
result.append(serializeString(separator())); |
} |
- bool isDefaultListStyle = listStyleIdent() == CSSValueDecimal; |
- if (!listStyle().isEmpty() && !isDefaultListStyle) { |
+ bool isDefaultListStyle = listStyle() == CSSValueDecimal; |
+ if (!isDefaultListStyle) { |
result.appendLiteral(", "); |
- result.append(listStyle()); |
+ result.append(m_listStyle->cssText()); |
} |
result.append(')'); |