| Index: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
| index 3e4f246ebfa87977ee325a7cf46886d9dab57693..dfab53888c1a38154962138a356b4e7c43736d5a 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
|
| @@ -81,14 +81,13 @@ bool consumeSyntaxType(const String& input, size_t& offset, CSSSyntaxType& type)
|
|
|
| bool consumeSyntaxIdent(const String& input, size_t& offset, String& ident)
|
| {
|
| - // TODO(timloh): Are CSS-wide keywords allowed here?
|
| size_t identStart = offset;
|
| while (isNameCodePoint(input[offset]))
|
| offset++;
|
| if (offset == identStart)
|
| return false;
|
| ident = input.substring(identStart, offset - identStart);
|
| - return true;
|
| + return !CSSPropertyParserHelpers::isCSSWideKeyword(ident);
|
| }
|
|
|
| CSSSyntaxDescriptor::CSSSyntaxDescriptor(String input)
|
|
|