-
Notifications
You must be signed in to change notification settings - Fork 2.2k
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for :has()
#1126
Labels
Milestone
Comments
This was referenced Feb 20, 2014
This will require deprecating the existing support for |
I really like the |
I don't think there's enough syntactic benefit to justify the conceptual overhead of doing it in a different way than CSS. Plus it runs a serious risk of stepping on the toes of a future CSS feature. |
nex3
added a commit
that referenced
this issue
Jul 12, 2014
nex3
added a commit
that referenced
this issue
Jul 12, 2014
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
As of 19 February, the CSS working group has decided to move away from
!
and towards:has()
for indicating subject selectors. Sass should support this.Based on the discussion linked above, it looks like the syntax will be
E:has(F)
, whereF
can be any arbitrary selector, including one starting with a combinator (e.g.E:has(> F)
).The text was updated successfully, but these errors were encountered: