Index: Source/core/page/RuntimeCSSEnabled.cpp |
diff --git a/Source/core/page/RuntimeCSSEnabled.cpp b/Source/core/page/RuntimeCSSEnabled.cpp |
index cb66f2e410bcd64054859451c7b8762240db2644..e85b3c6b440ce7ff0a22eafe18c4276c27e0ac3f 100644 |
--- a/Source/core/page/RuntimeCSSEnabled.cpp |
+++ b/Source/core/page/RuntimeCSSEnabled.cpp |
@@ -92,13 +92,17 @@ static void setPropertySwitchesFromRuntimeFeatures() |
CSSPropertyGridTemplate |
}; |
setCSSPropertiesEnabled(cssGridLayoutProperties, WTF_ARRAY_LENGTH(cssGridLayoutProperties), RuntimeEnabledFeatures::cssGridLayoutEnabled()); |
+ CSSPropertyID cssObjectFitPositionProperties[] = { |
+ CSSPropertyObjectFit, |
+ CSSPropertyObjectPosition |
+ }; |
+ setCSSPropertiesEnabled(cssObjectFitPositionProperties, WTF_ARRAY_LENGTH(cssObjectFitPositionProperties), RuntimeEnabledFeatures::objectFitPositionEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyBackgroundBlendMode, RuntimeEnabledFeatures::cssCompositingEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyMixBlendMode, RuntimeEnabledFeatures::cssCompositingEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyTouchAction, RuntimeEnabledFeatures::cssTouchActionEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyPaintOrder, RuntimeEnabledFeatures::svgPaintOrderEnabled()); |
RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyVariable, RuntimeEnabledFeatures::cssVariablesEnabled()); |
- RuntimeCSSEnabled::setCSSPropertyEnabled(CSSPropertyObjectFit, RuntimeEnabledFeatures::objectFitPositionEnabled()); |
} |
static BoolVector& propertySwitches() |