2007-10-11 Allan Sandfeld Jensen <sandfeld@kde.org>
authoroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Oct 2007 15:40:08 +0000 (15:40 +0000)
committeroliver <oliver@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Oct 2007 15:40:08 +0000 (15:40 +0000)
commit457c7ca9ca9db6873394e7810da44a654130d47d
tree36cb4387ba78ef054b1ea9991711cecc4de7f78d
parent6f5711e6420e14ca787f3486f74eb31d7c3d6c40
2007-10-11  Allan Sandfeld Jensen  <sandfeld@kde.org>

         Reviewed by Maciej and Eric.

         Implement CSS selector combinators nondeterministic matching.
         Fixes http://bugs.webkit.org/show_bug.cgi?id=3428

         * css/CSSStyleSelector.cpp:
         (WebCore::CSSStyleSelector::matchRulesForList):
         (WebCore::CSSStyleSelector::checkSelector): Split the function and make the second part recursive
         (WebCore::CSSStyleSelector::checkOneSelector): Handle pseodo-elements rules and hoveractive quirks
         here instead of in checkSelector.
         * css/CSSStyleSelector.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/selectors/nondeterministic-combinators.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/selectors/nondeterministic-combinators-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/selectors/nondeterministic-combinators-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/selectors/nondeterministic-combinators-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSStyleSelector.cpp
WebCore/css/CSSStyleSelector.h