One might expect p:not(.a, .b) to target all <p> which does not have class a or class b, as seen here: http://jsfiddle.net/8f4BH/2/. Instead, the workaround for this would be p:not(.a):not(.b), as seen here: http://jsfiddle.net/8f4BH/3/.
Created attachment 173239 [details] WIP
Isn't this CSS4, and thus very experimental standard?
Comment on attachment 173239 [details] WIP Attachment 173239 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14775572 New failing tests: fast/css/invalid-not-with-simple-selector-sequence.html fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml fast/css/invalid-not-with-pseudo-element.html
Comment on attachment 173239 [details] WIP Attachment 173239 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14787339 New failing tests: fast/css/invalid-not-with-simple-selector-sequence.html fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml scrollbars/overflow-scrollbar-combinations.html fast/css/invalid-not-with-pseudo-element.html