This is a more logical place for this code (and also makes CSSStyleSelector slightly less bloated). It will make it possible to use fastRejectSelector for querySelectoAll in the future.
Created attachment 107230 [details]
Attachment 107230 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/css/SelectorChecker.h:63: The parameter name "selector" adds no information, so it should be removed. [readability/parameter_name] 
Source/WebCore/css/SelectorChecker.cpp:186: A case label should not be indented, but line up with its switch statement. [whitespace/indent] 
Total errors found: 2 in 5 files
If any of these errors are false positives, please file a bug against check-webkit-style.