DescriptionReturn early in SelectorChecker::checkOne() if selector.isAttributeSelector() is true
Return early in SelectorChecker::checkOne() if selector.isAttributeSelector()
is true and the selector matched. Previously, we were only returning early if
the selector did not match and we were falling through if it did. This means
that we ended up doing the 2 if() checks below in the method unnecessarily:
- selector.m_match == CSSSelector::PseudoClass
- selector.m_match == CSSSelector::PseudoElement
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175518
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|