RESOLVED WORKSFORME 100654
The :not pseudo-class doesn't accept more than one selector
https://bugs.webkit.org/show_bug.cgi?id=100654
Summary The :not pseudo-class doesn't accept more than one selector
zykadelic
Reported 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/.
Attachments
WIP (8.00 KB, patch)
2012-11-09 01:46 PST, Takashi Sakamoto
buildbot: commit-queue-
Takashi Sakamoto
Comment 1 2012-11-09 01:46:36 PST
Allan Sandfeld Jensen
Comment 2 2012-11-09 02:02:37 PST
Isn't this CSS4, and thus very experimental standard?
Build Bot
Comment 3 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
WebKit Review Bot
Comment 4 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
Note You need to log in before you can comment on or make changes to this bug.