| Index: Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/Source/core/css/resolver/StyleBuilderCustom.cpp b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index eefd6cc6d4ca7854247e16577902c80b892926b9..68a365951693dc89f664e0347f69f6af50702732 100644
|
| --- a/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -833,4 +833,20 @@ void StyleBuilderFunctions::applyValueCSSPropertyBaselineShift(StyleResolverStat
|
| }
|
| }
|
|
|
| +void StyleBuilderFunctions::applyInitialCSSPropertyImageOrientation(StyleResolverState& state)
|
| +{
|
| + state.style()->setRespectImageOrientation(ComputedStyle::initialRespectImageOrientation());
|
| +}
|
| +
|
| +void StyleBuilderFunctions::applyInheritCSSPropertyImageOrientation(StyleResolverState& state)
|
| +{
|
| + state.style()->setRespectImageOrientation(state.parentStyle()->respectImageOrientation());
|
| +}
|
| +
|
| +void StyleBuilderFunctions::applyValueCSSPropertyImageOrientation(StyleResolverState& state, CSSValue* value)
|
| +{
|
| + CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value);
|
| + state.style()->setRespectImageOrientation(primitiveValue->getValueID() == CSSValueFromImage ? RespectImageOrientation : DoNotRespectImageOrientation);
|
| +}
|
| +
|
| } // namespace blink
|
|
|