Index: Source/core/css/parser/CSSGrammar.y |
diff --git a/Source/core/css/parser/CSSGrammar.y b/Source/core/css/parser/CSSGrammar.y |
index f1d7c559ae1398298782d4a327e1ac2c56d7a46f..fd50e951518b9d5a4e872a3ff1a9e73261588e77 100644 |
--- a/Source/core/css/parser/CSSGrammar.y |
+++ b/Source/core/css/parser/CSSGrammar.y |
@@ -1627,7 +1627,7 @@ operator: |
term: |
unary_term maybe_space |
| unary_operator unary_term maybe_space { $$ = $2; $$.fValue *= $1; } |
- | STRING maybe_space { $$.id = CSSValueInvalid; $$.isInt = false; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_STRING; } |
+ | STRING maybe_space { $$.id = CSSValueInvalid; $$.isInt = false; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_CUSTOM_IDENT; } |
Timothy Loh
2015/03/03 23:20:15
These are still <string>s though, right?
|
| IDENT maybe_space { $$ = makeIdentValue($1); } |
/* We might need to actually parse the number from a dimension, but we can't just put something that uses $$.string into unary_term. */ |
| DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.isInt = false; $$.unit = CSSParserValue::Dimension; } |