Index: Source/core/page/RuntimeCSSEnabled.cpp |
diff --git a/Source/core/page/RuntimeCSSEnabled.cpp b/Source/core/page/RuntimeCSSEnabled.cpp |
index 715fdf2cad5502c88caa31f262f4c8ba67c171b9..42934b3ad44776ec7107654d5d61ec3f2c10373b 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, |
@@ -112,7 +117,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()); |
} |