Bug 100654

Summary: The :not pseudo-class doesn't accept more than one selector
Product: WebKit Reporter: zykadelic <andreas>
Component: CSSAssignee: Takashi Sakamoto <tasak>
Status: RESOLVED WORKSFORME    
Severity: Minor CC: allan.jensen, benjamin, cmarcelo, dglazkov, macpherson, menard, tasak, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.8   
Attachments:
Description Flags
WIP buildbot: commit-queue-

Description zykadelic 2012-10-29 04:54:59 PDT
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/.
Comment 1 Takashi Sakamoto 2012-11-09 01:46:36 PST
Created attachment 173239 [details]
WIP
Comment 2 Allan Sandfeld Jensen 2012-11-09 02:02:37 PST
Isn't this CSS4, and thus very experimental standard?
Comment 3 Build Bot 2012-11-09 06:42:29 PST
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 4 WebKit Review Bot 2012-11-09 17:02:57 PST
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