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 7aaf7c471755b36d913a1fee85e6c2b021c96890..1c1c50cdedfecd5578f11bcc6347238b7a88ef6a 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -3765,6 +3765,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); |