| Index: third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
| index 38889d1b8f0c1327f5b0e24c2888ba120f41837d..91429e4795d1ec87cc095758766caea1dc8bcc4b 100644
|
| --- a/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
|
| @@ -300,12 +300,15 @@ void AbstractPropertySetCSSStyleDeclaration::setPropertyInternal(
|
| willMutate();
|
|
|
| bool changed = false;
|
| - if (unresolvedProperty == CSSPropertyVariable)
|
| + if (unresolvedProperty == CSSPropertyVariable) {
|
| + bool isAnimationTainted = isKeyframeStyle();
|
| changed = propertySet().setProperty(AtomicString(customPropertyName), value,
|
| - important, contextStyleSheet());
|
| - else
|
| + important, contextStyleSheet(),
|
| + isAnimationTainted);
|
| + } else {
|
| changed = propertySet().setProperty(unresolvedProperty, value, important,
|
| contextStyleSheet());
|
| + }
|
|
|
| didMutate(changed ? PropertyChanged : NoChanges);
|
|
|
|
|