Chromium Code Reviews| Index: Source/core/animation/ElementAnimations.cpp |
| diff --git a/Source/core/animation/ElementAnimations.cpp b/Source/core/animation/ElementAnimations.cpp |
| index 86bee848ef2f11d7dbad838d16f62034caf42ed1..a25eade39a2760551937e00e74c0b1ba0ef9ccb4 100644 |
| --- a/Source/core/animation/ElementAnimations.cpp |
| +++ b/Source/core/animation/ElementAnimations.cpp |
| @@ -60,7 +60,10 @@ void ElementAnimations::updateAnimationFlags(ComputedStyle& style) |
| if (effect.isCurrent()) { |
| if (effect.affects(PropertyHandle(CSSPropertyOpacity))) |
| style.setHasCurrentOpacityAnimation(true); |
| - if (effect.affects(PropertyHandle(CSSPropertyTransform))) |
| + if (effect.affects(PropertyHandle(CSSPropertyRotate)) |
| + || effect.affects(PropertyHandle(CSSPropertyScale)) |
| + || effect.affects(PropertyHandle(CSSPropertyTransform)) |
|
dstockwell
2015/07/03 01:58:40
transform first
soonm
2015/07/03 06:34:29
Done.
|
| + || effect.affects(PropertyHandle(CSSPropertyTranslate))) |
| style.setHasCurrentTransformAnimation(true); |
| if (effect.affects(PropertyHandle(CSSPropertyWebkitFilter))) |
| style.setHasCurrentFilterAnimation(true); |