New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 9 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature

Blocking:
issue 747818
issue 747752



Sign in to add a comment
link

Issue 580628: CSS :not doesn't work correctly with nested classes of same name

Reported by johnpaul...@gmail.com, Jan 22 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9

Example URL:
http://codepen.io/jpdevries/pen/pgabGP

Steps to reproduce the problem:
1. Visit http://codepen.io/jpdevries/pen/pgabGP
2. Notice .foo:not(.foo .foo) should select the first div.foo

What is the expected behavior?
.foo:not(.foo .foo) should select the first div.foo because it is not .foo .foo

What went wrong?
.foo:not(.foo .foo) does not select the first div.foo

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? No All but Safari (Firefox, Edge, Opera)

Chrome version: 48.0.2564.82  Channel: n/a
OS Version: OS X 10.11.2
Flash Version: Shockwave Flash 20.0 r0

This works as expected in Safari.
 

Comment 1 by johnpaul...@gmail.com, Jan 22 2016

Apparently most browsers only support simple selectors with :not()
https://css-tricks.com/almanac/selectors/n/not/#footnote-1

Comment 2 by r...@opera.com, Jan 25 2016

Labels: -Cr-Blink -Type-Bug -OS-Mac Cr-Blink-CSS Type-Feature OS-All
Status: Available
Selector list argument for :not was introduced in Selectors Level 4. We don't yet implement that. Marked as feature request.

Comment 3 by r...@opera.com, Sep 16 2016

Labels: -Pri-2 Pri-3

Comment 4 by r...@opera.com, Sep 16 2016

Cc: tkonch...@chromium.org
 Issue 640959  has been merged into this issue.

Comment 5 by ericwilligers@chromium.org, Feb 13 2017

Labels: Update-Quarterly

Comment 6 by tkent@chromium.org, Jul 24 2017

Blocking: 747752

Comment 7 by phistuck@chromium.org, Jul 24 2017

Labels: Hotlist-Interop
Supported by WebKit/Safari. This is an interoperability issue.

Comment 8 by phistuck@chromium.org, Jul 24 2017

Blocking: 747818

Comment 9 by shend@chromium.org, Oct 31 2017

Labels: ApproachableBug

Comment 10 by nainar@chromium.org, Dec 6 2017

Labels: -Update-Quarterly

Comment 11 by sheriffbot@chromium.org, Dec 6

Project Member
Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 12 by e...@chromium.org, Dec 12

Status: Available (was: Untriaged)

Sign in to add a comment