Skip to content
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

CSS Level 4 Selectors (e.g. :scope with Element.querySelector) #1058

Open
Fyrd opened this issue May 12, 2015 · 48 comments
Open

CSS Level 4 Selectors (e.g. :scope with Element.querySelector) #1058

Fyrd opened this issue May 12, 2015 · 48 comments

Comments

@Fyrd
Copy link
Owner

Fyrd commented May 12, 2015

CSS Level 4 Selectors

Available on site now:

Pending review:

  • :any-link

Not (yet) available:


This issue was imported from Google Moderator

Moderator votes: +18
Issue added by Jared J on 2014-04-17

@kaleb
Copy link

kaleb commented May 21, 2015

+1 I was hoping this worked in IE 11. It doesn't.

@nickleus
Copy link

+1
i'm mostly interested in explicitly choosing a compound selector as the "subject":
http://www.w3.org/TR/selectors4/#subject

@LDigital84
Copy link

+1

1 similar comment
@Schweinepriester
Copy link
Contributor

+1

@LPGhatguy
Copy link

I'd like to see this, especially for nth-match

@Schweinepriester
Copy link
Contributor

also see http://www.sitepoint.com/future-generation-css-selectors-level-4/, especially :matches() :)

@Serator
Copy link

Serator commented Jun 24, 2015

+1

@cvrebert
Copy link
Contributor

cvrebert commented Jul 1, 2015

+1

1 similar comment
@jackwickham
Copy link

+1

@ccoenen
Copy link

ccoenen commented Sep 25, 2015

I'd have looked up case-insensitive attribute matches (see http://www.w3.org/TR/selectors4/#attribute-case )

@stof
Copy link
Contributor

stof commented Oct 8, 2015

+1

2 similar comments
@roselan
Copy link

roselan commented Oct 13, 2015

+1

@rajsite
Copy link
Contributor

rajsite commented Oct 20, 2015

+1

@aronstrandberg
Copy link

+1 (nth-match especially)

@yukulele
Copy link
Contributor

@yukulele
Copy link
Contributor

+1

@r-k-b
Copy link

r-k-b commented Dec 4, 2015

+1
Would specifically like to see the upgraded :not negation selector that can take lists of simple selectors.

@vincentorback
Copy link

+1

1 similar comment
@UnrulyNatives
Copy link

+1

@chaos986
Copy link

+1

3 similar comments
@Llbe
Copy link

Llbe commented Feb 3, 2016

+1

@AdrianoCahete
Copy link

+1

@screeny05
Copy link

+1

@cvrebert cvrebert mentioned this issue Mar 10, 2016
@Fyrd
Copy link
Owner Author

Fyrd commented Jun 6, 2016

:focus-within now available at http://caniuse.com/#feat=css-focus-within

@Fyrd
Copy link
Owner Author

Fyrd commented Jun 18, 2016

:dir now available at http://caniuse.com/#feat=css-dir-pseudo

@PunkSage
Copy link

PunkSage commented Jul 14, 2016

:scope +1

@stevenvachon
Copy link
Contributor

stevenvachon commented Sep 8, 2016

@Fyrd compound selectors in :not() is CSS4 too. Firefox currently doesn't support it for this reason, but Chrome and WebKit do.

@stevenvachon
Copy link
Contributor

@nickleus selector subjects have been replaced with :has().

@cvrebert
Copy link
Contributor

cvrebert commented Sep 8, 2016

@stevenvachon Is that somehow different from http://caniuse.com/#feat=css-not-sel-list ?

@stevenvachon
Copy link
Contributor

@cvrebert that refers to :not(.class1, .class2) where I'm referring to :not(.class1.class2).

@pmaxhogan
Copy link

+1 Please!

@roastchicken
Copy link

+1

@boneyfantaseas
Copy link

+1 especially for :blank

@acdha
Copy link

acdha commented Sep 5, 2018

:scope probably should be listed because it's supported by most of the non-Microsoft browsers according to https://developer.mozilla.org/en-US/docs/Web/CSS/:scope and that'd make it really easy for someone to miss that important caveat during development.

CITguy pushed a commit to CITguy/caniuse that referenced this issue Oct 6, 2018
* add link to MS Edge platform status
* update spec to reflect published standard

Relates to Fyrd#1058
CITguy pushed a commit to CITguy/caniuse that referenced this issue Oct 6, 2018
* add link to MS Edge platform status
* update spec to reflect published standard

Relates to Fyrd#1058
@franktopel
Copy link

What is the state of :scope?

@GreLI
Copy link

GreLI commented Dec 6, 2018

It worth noting that :empty has different meaning in CSS Level 4 Selectors — now it matches nodes containing only white-spaces. :blank has removed that meaning, and now it's proposed for empty inputs (at-risk).

@chharvey
Copy link

chharvey commented Apr 1, 2019

Pseudo-classes to add to this issue:

@kiding
Copy link
Contributor

kiding commented Nov 8, 2019

Many of them are actively being implemented, such as :is() selector. Currently only the MDN data is listed.

@dnknn
Copy link

dnknn commented Aug 3, 2020

:local-link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests