This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to SelectorFailsAllSiblings when Child selector is failed.
https://bugs.webkit.org/show_bug.cgi?id=130961 Patch by Yusuke Suzuki <email@example.com> on 2014-04-04 Reviewed by Benjamin Poulain. When Child selector fails, we should resume matching from the closest Descendant selector. So upgrading SelectorFailsLocally to SelectorFailsAllSibling at least to prevent unnecessary direct/indirect adjacent selectors matching. * css/SelectorChecker.cpp: (WebCore::SelectorChecker::matchRecursively): Canonical link: https://commits.webkit.org/149293@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166808 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 2 changed files with 26 additions and 6 deletions.