Chromium Code Reviews| Index: Source/core/html/HTMLAnchorElement.cpp |
| diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
| index 5c8e41b76c6c7604908a00fd997a7b19556371a6..fee13337fc01103cf7f2c80bc87b8ffa5c4ce8b8 100644 |
| --- a/Source/core/html/HTMLAnchorElement.cpp |
| +++ b/Source/core/html/HTMLAnchorElement.cpp |
| @@ -197,6 +197,7 @@ void HTMLAnchorElement::parseAttribute(const QualifiedName& name, const AtomicSt |
| if (wasLink || isLink()) { |
| pseudoStateChanged(CSSSelector::PseudoLink); |
| pseudoStateChanged(CSSSelector::PseudoVisited); |
| + pseudoStateChanged(CSSSelector::PseudoAnyLink); |
|
esprehn
2015/02/01 14:41:49
Hopefully doing this tree times isn't too expensiv
|
| } |
| if (wasLink && !isLink() && treeScope().adjustedFocusedElement() == this) { |
| // We might want to call blur(), but it's dangerous to dispatch |