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 d7561142cc0c0a0d6740eb9c1402f1118c4a135f..450fbc907497f6b7f4af98add49fbc55bb7203a1 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserFastPaths.cpp |
@@ -845,6 +845,12 @@ bool CSSParserFastPaths::IsValidKeywordPropertyAndValue( |
DCHECK(RuntimeEnabledFeatures::CSSScrollSnapPointsEnabled()); |
return value_id == CSSValueNone || value_id == CSSValueMandatory || |
value_id == CSSValueProximity; |
+ case CSSPropertyScrollBoundaryBehaviorX: |
+ return value_id == CSSValueAuto || value_id == CSSValueContain || |
+ value_id == CSSValueNone; |
+ case CSSPropertyScrollBoundaryBehaviorY: |
+ return value_id == CSSValueAuto || value_id == CSSValueContain || |
+ value_id == CSSValueNone; |
default: |
NOTREACHED(); |
return false; |
@@ -958,6 +964,8 @@ bool CSSParserFastPaths::IsKeywordPropertyID(CSSPropertyID property_id) { |
case CSSPropertyWordWrap: |
case CSSPropertyWritingMode: |
case CSSPropertyScrollSnapType: |
+ case CSSPropertyScrollBoundaryBehaviorX: |
+ case CSSPropertyScrollBoundaryBehaviorY: |
return true; |
case CSSPropertyJustifyContent: |
case CSSPropertyAlignContent: |