Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
index ef18a2d322b4c70d9af425cfebfef4d9e7bb8681..092264a367dba9f7ee7bbae4877f5b21df1ee5c9 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h |
@@ -68,6 +68,11 @@ template<CSSValueID... names> PassRefPtrWillBeRawPtr<CSSPrimitiveValue> consumeI |
return cssValuePool().createIdentifierValue(range.consumeIncludingWhitespace().id()); |
} |
+static inline bool isCSSWideKeyword(const CSSValueID& id) |
+{ |
+ return id == CSSValueInitial || id == CSSValueInherit || id == CSSValueUnset || id == CSSValueDefault; |
+} |
+ |
} // namespace CSSPropertyParserHelpers |
} // namespace blink |