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 cd022b7aee4927c4878359ecf181316282ef03cd..a466db19750a5540446f31756073d447b7b471c0 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -3658,6 +3658,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); |