| Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index 65f290940c5f232da962a58f37bfcdf4f4eca1cf..131a5d7b0287236a8cc71a19c95545705b8dd3fa 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -40,6 +40,7 @@
|
| #include "core/CSSValueKeywords.h"
|
| #include "core/StyleBuilderFunctions.h"
|
| #include "core/StylePropertyShorthand.h"
|
| +#include "core/animation/css/CSSAnimations.h"
|
| #include "core/css/CSSCounterValue.h"
|
| #include "core/css/CSSCursorImageValue.h"
|
| #include "core/css/CSSCustomPropertyDeclaration.h"
|
| @@ -112,8 +113,10 @@ void StyleBuilder::applyProperty(CSSPropertyID id,
|
| const CSSValue& value) {
|
| if (id != CSSPropertyVariable && (value.isVariableReferenceValue() ||
|
| value.isPendingSubstitutionValue())) {
|
| + bool omitAnimationTainted = CSSAnimations::isAnimationAffectingProperty(id);
|
| const CSSValue* resolvedValue =
|
| - CSSVariableResolver::resolveVariableReferences(state, id, value);
|
| + CSSVariableResolver::resolveVariableReferences(state, id, value,
|
| + omitAnimationTainted);
|
| applyProperty(id, state, *resolvedValue);
|
|
|
| if (!state.style()->hasVariableReferenceFromNonInheritedProperty() &&
|
|
|