| Index: Source/core/css/parser/CSSGrammar.y
|
| diff --git a/Source/core/css/parser/CSSGrammar.y b/Source/core/css/parser/CSSGrammar.y
|
| index 253597c94a0f14f2d641424bf26318d9683bbd4e..417f5680e3b51cb8a41d8acf74d37de538df3e22 100644
|
| --- a/Source/core/css/parser/CSSGrammar.y
|
| +++ b/Source/core/css/parser/CSSGrammar.y
|
| @@ -350,6 +350,7 @@ inline static CSSParserValue makeIdentValue(CSSParserString string)
|
| %type <integer> unary_operator
|
| %type <integer> maybe_unary_operator
|
| %type <character> operator
|
| +%type <character> slash_operator
|
|
|
| %type <valueList> expr
|
| %type <value> term
|
| @@ -1592,6 +1593,12 @@ expr:
|
| $$ = $1;
|
| $$->addValue(parser->sinkFloatingValue($2));
|
| }
|
| + | expr slash_operator slash_operator term {
|
| + $$ = $1;
|
| + $$->addValue(makeOperatorValue($2));
|
| + $$->addValue(makeOperatorValue($3));
|
| + $$->addValue(parser->sinkFloatingValue($4));
|
| + }
|
| ;
|
|
|
| expr_recovery:
|
| @@ -1600,10 +1607,14 @@ expr_recovery:
|
| }
|
| ;
|
|
|
| +slash_operator:
|
| + '/' maybe_space {
|
| + $$ = '/';
|
| + }
|
| + ;
|
| +
|
| operator:
|
| - '/' maybe_space {
|
| - $$ = '/';
|
| - }
|
| + slash_operator
|
| | ',' maybe_space {
|
| $$ = ',';
|
| }
|
|
|