Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
index 109e39247e5af320ef80af6f5cfb6cf572e2a62f..e2e3ef67b2875973b3b76c41d5acab1f4c1d6e0c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
@@ -67,6 +67,11 @@ bool HTMLAnchorElement::supportsFocus() const |
return isLink() || HTMLElement::supportsFocus(); |
} |
+bool HTMLAnchorElement::matchesEnabledPseudoClass() const |
+{ |
+ return isLink(); |
+} |
+ |
bool HTMLAnchorElement::shouldHaveFocusAppearance() const |
{ |
return !m_wasFocusedByMouse || HTMLElement::supportsFocus(); |