-
yael.aharon@nokia.com authored
https://bugs.webkit.org/show_bug.cgi?id=41206 Reviewed by Simon Fraser. Source/WebCore: Give negated selectors the specificity of the selector they are negating. This is the same as the behavior of other browsers. Test: fast/css/pseudo-not.html * css/CSSSelector.cpp: (WebCore::CSSSelector::specificityForOneSelector): LayoutTests: * fast/css/pseudo-not-expected.txt: Added. * fast/css/pseudo-not.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
011403cd