Index: Source/core/page/RuntimeCSSEnabled.cpp |
diff --git a/Source/core/page/RuntimeCSSEnabled.cpp b/Source/core/page/RuntimeCSSEnabled.cpp |
index 3727ceceea429cfd9466f972a3d3a098158ae5a0..8d8f53e71774d52569bda1c32a64f26ba12849cd 100644 |
--- a/Source/core/page/RuntimeCSSEnabled.cpp |
+++ b/Source/core/page/RuntimeCSSEnabled.cpp |
@@ -92,6 +92,11 @@ static void setPropertySwitchesFromRuntimeFeatures() |
CSSPropertyGridTemplate |
}; |
setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLayoutProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); |
+ CSSPropertyID cssObjectFitPositionProperties[] = { |
+ CSSPropertyObjectFit, |
+ CSSPropertyObjectPosition |
+ }; |
+ setCSSPropertiesEnabled(cssObjectFitPositionProperties, WTF_ARRAY_LENGTH(cssObjectFitPositionProperties), RuntimeEnabledFeatures::objectFitPositionEnabled()); |
CSSPropertyID animationProperties[] = { |
CSSPropertyAnimation, |
@@ -111,7 +116,6 @@ static void setPropertySwitchesFromRuntimeFeatures() |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyTouchAction, RuntimeEnabledFeatures::cssTouchActionEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyPaintOrder, RuntimeEnabledFeatures::svgPaintOrderEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyVariable, RuntimeEnabledFeatures::cssVariablesEnabled()); |
- RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyObjectFit, RuntimeEnabledFeatures::objectFitPositionEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyMaskSourceType, RuntimeEnabledFeatures::cssMaskSourceTypeEnabled()); |
} |