Index: Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/Source/core/css/parser/CSSPropertyParser.cpp b/Source/core/css/parser/CSSPropertyParser.cpp |
index 98e638f9ab8ea36b52381bdd2c08714ac522a16f..47ed91a1e9232f4ec51bf21bfc1a4dc2333e8c21 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: |