Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index e9ccf2e3178466f8001211a51499ca565557834f..63cc201c75ffa90f32cf8462a9cb954023f95094 100644 |
--- a/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -645,6 +645,10 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import |
} |
break; |
} |
+ case CSSPropertyImageOrientation: |
+ if (RuntimeEnabledFeatures::imageOrientationEnabled()) |
+ validPrimitive = value->id == CSSValueFromImage || (value->unit != CSSPrimitiveValue::CSS_NUMBER && validUnit(value, FAngle) && value->fValue == 0); |
+ break; |
case CSSPropertyBackgroundBlendMode: |
case CSSPropertyBackgroundAttachment: |