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

Unified Diff: Source/core/css/parser/CSSParserValues.cpp

Issue 973623002: Fix serialization of content property to always quote (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix charset test Created 5 years, 10 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: Source/core/css/parser/CSSParserValues.cpp
diff --git a/Source/core/css/parser/CSSParserValues.cpp b/Source/core/css/parser/CSSParserValues.cpp
index a18e454d7139bf65508c8afec4b872597ecc2cfe..714cbefdda7bdabb206ccd75c29e3dc15280cc04 100644
--- a/Source/core/css/parser/CSSParserValues.cpp
+++ b/Source/core/css/parser/CSSParserValues.cpp
@@ -177,7 +177,7 @@ CSSParserValueList::CSSParserValueList(CSSParserTokenRange range)
if (token.type() == HashToken)
value.unit = CSSParserValue::HexColor;
else if (token.type() == StringToken)
- value.unit = CSSPrimitiveValue::CSS_STRING;
+ value.unit = CSSPrimitiveValue::CSS_CUSTOM_IDENT;
Timothy Loh 2015/03/03 23:20:15 These should also stay as <string>
else if (token.type() == UnicodeRangeToken)
value.unit = CSSPrimitiveValue::CSS_UNICODE_RANGE;
else

Powered by Google App Engine
This is Rietveld 408576698