| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 1a1bcdf4213ce5ebbae6e13e27d50aaf4f0b19df..d0ccf6d62dce95b1c41fe3ae86dfd0de0e6a5549 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -934,6 +934,11 @@ bool StyleResolver::applyAnimatedProperties(StyleResolverState& state, const Ele
|
| if (state.animationUpdate().isEmpty())
|
| return false;
|
|
|
| + if (state.style()->insideLink() != NotInsideLink) {
|
| + ASSERT(state.applyPropertyToRegularStyle());
|
| + state.setApplyPropertyToVisitedLinkStyle(true);
|
| + }
|
| +
|
| const ActiveInterpolationMap& activeInterpolationsForAnimations = state.animationUpdate().activeInterpolationsForAnimations();
|
| const ActiveInterpolationMap& activeInterpolationsForTransitions = state.animationUpdate().activeInterpolationsForTransitions();
|
| applyAnimatedProperties<HighPropertyPriority>(state, activeInterpolationsForAnimations);
|
| @@ -949,6 +954,8 @@ bool StyleResolver::applyAnimatedProperties(StyleResolverState& state, const Ele
|
|
|
| ASSERT(!state.fontBuilder().fontDirty());
|
|
|
| + state.setApplyPropertyToVisitedLinkStyle(false);
|
| +
|
| return true;
|
| }
|
|
|
|
|