Index: third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
index 14cf549cc35238a426ea8ba1c69de353152492a5..ff06e316143a5d655d6e1cff09e992858bb9bddd 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
@@ -546,7 +546,9 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue( |
valueID == CSSValueWebkitFlex || |
valueID == CSSValueWebkitInlineFlex || valueID == CSSValueNone || |
(RuntimeEnabledFeatures::cssGridLayoutEnabled() && |
- (valueID == CSSValueGrid || valueID == CSSValueInlineGrid)); |
+ (valueID == CSSValueGrid || valueID == CSSValueInlineGrid)) || |
+ (RuntimeEnabledFeatures::cssDisplayContentsEnabled() && |
+ valueID == CSSValueContents); |
case CSSPropertyDominantBaseline: |
return valueID == CSSValueAuto || valueID == CSSValueAlphabetic || |
valueID == CSSValueMiddle || |