Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index 86e57236fd9e1d4302daf2f696fd9bfd9ae72581..6484ed51e5dd4f5b79fb24ec24dfb6138247d2cb 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -3660,6 +3660,14 @@ const CSSValue* ComputedStyleCSSValueMapping::Get( |
case CSSPropertyScrollSnapDestination: |
return ValueForScrollSnapDestination(style.ScrollSnapDestination(), |
style); |
+ case CSSPropertyScrollBoundaryBehavior: |
+ if (style.ScrollBoundaryBehaviorX() == style.ScrollBoundaryBehaviorY()) |
+ return CSSIdentifierValue::Create(style.ScrollBoundaryBehaviorX()); |
+ return nullptr; |
+ case CSSPropertyScrollBoundaryBehaviorX: |
+ return CSSIdentifierValue::Create(style.ScrollBoundaryBehaviorX()); |
+ case CSSPropertyScrollBoundaryBehaviorY: |
+ return CSSIdentifierValue::Create(style.ScrollBoundaryBehaviorY()); |
case CSSPropertyTranslate: { |
if (!style.Translate()) |
return CSSIdentifierValue::Create(CSSValueNone); |