| Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| index 4b6f86c2c930c33f2ab1747f154d24ee83b5fe1a..000b86604e2feef506bbc018bccfd8df71688ea1 100644
|
| --- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| +++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp
|
| @@ -288,7 +288,7 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> consumeIdentRange(CSSParserTokenRange&
|
|
|
| PassRefPtrWillBeRawPtr<CSSCustomIdentValue> consumeCustomIdent(CSSParserTokenRange& range)
|
| {
|
| - if (range.peek().type() != IdentToken)
|
| + if (range.peek().type() != IdentToken || isCSSWideKeyword(range.peek().id()))
|
| return nullptr;
|
| return CSSCustomIdentValue::create(range.consumeIncludingWhitespace().value());
|
| }
|
|
|