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 b7f4e4810b8f2e8385d1262b456bebdcbf12cd37..db49a60ea1521dd56c051e90d086d649983b1d37 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -3766,6 +3766,14 @@ const CSSValue* ComputedStyleCSSValueMapping::Get( |
case CSSPropertyScrollSnapMarginInlineEnd: |
return ZoomAdjustedPixelValueForLength(style.ScrollSnapMarginInlineEnd(), |
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); |