Chromium Code Reviews| 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..1273109f772c0c24ace6017cf1c8cf2812982319 100644 |
| --- a/Source/core/css/resolver/StyleResolver.cpp |
| +++ b/Source/core/css/resolver/StyleResolver.cpp |
| @@ -918,6 +918,11 @@ void StyleResolver::collectPseudoRulesForElement(Element* element, ElementRuleCo |
| bool StyleResolver::applyAnimatedProperties(StyleResolverState& state, const Element* animatingElement) |
| { |
| + if (state.style()->insideLink() != NotInsideLink) { |
| + state.setApplyPropertyToRegularStyle(true); |
|
Timothy Loh
2015/08/25 08:29:28
ASSERT(state.applyPropertyToRegularStyle())
|
| + state.setApplyPropertyToVisitedLinkStyle(true); |
| + } |
| + |
| Element* element = state.element(); |
| ASSERT(element); |