Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index 62893d43a92f15282cf479f216de5df939c00bf9..954192c9b742debb79e72c6062c61ea3efa741a9 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -787,8 +787,6 @@ bool SelectorChecker::checkOne(const SelectorCheckingContext& context, const Sib |
case CSSSelector::PseudoEnabled: |
if (element.isFormControlElement() || isHTMLOptionElement(element) || isHTMLOptGroupElement(element)) |
return !element.isDisabledFormControl(); |
- else if (isHTMLAnchorElement(element) || isHTMLAreaElement(element)) |
- return element.isLink(); |
break; |
case CSSSelector::PseudoFullPageMedia: |
return element.document().isMediaDocument(); |