Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
| index 74aa3fbf21b20bbf860a9e9468f641f10c2c8a53..b35fda0aaa17b11f89f88d6c65c13c11e9eb877e 100644 |
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
| @@ -1864,9 +1864,9 @@ const CSSValue* CSSPropertyParser::parseSingleValue( |
| case CSSPropertyFontWeight: |
| return CSSPropertyFontUtils::consumeFontWeight(m_range); |
| case CSSPropertyCounterIncrement: |
| + return consumeCounter(m_range, 1); |
|
suzyh_UTC10 (ex-contributor)
2017/03/27 04:29:57
These magic numbers should be replaced with meanin
|
| case CSSPropertyCounterReset: |
| - return consumeCounter(m_range, |
| - property == CSSPropertyCounterIncrement ? 1 : 0); |
| + return consumeCounter(m_range, 0); |
| case CSSPropertyMaxWidth: |
| case CSSPropertyMaxHeight: |
| return CSSPropertyLengthUtils::consumeMaxWidthOrHeight( |