Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Unified Diff: third_party/WebKit/Source/core/css/CSSCounterValue.cpp

Issue 1933713002: Store separator info of counters as CSSStringValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/CSSCounterValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSCounterValue.cpp b/third_party/WebKit/Source/core/css/CSSCounterValue.cpp
index 70861c5a6ac607f0151f6b5cbd21b0427da67d00..07fc304628f53dc15dbbf7638c33002b477dca40 100644
--- a/third_party/WebKit/Source/core/css/CSSCounterValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSCounterValue.cpp
@@ -20,7 +20,7 @@ String CSSCounterValue::customCSSText() const
result.append(identifier());
if (!separator().isEmpty()) {
result.appendLiteral(", ");
- result.append(serializeString(separator()));
+ result.append(m_separator->cssText());
}
bool isDefaultListStyle = listStyle() == CSSValueDecimal;
if (!isDefaultListStyle) {

Powered by Google App Engine
This is Rietveld 408576698