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

Less :matches() is not supported #56

Closed
alex-kinokon opened this issue Dec 12, 2017 · 5 comments
Closed

Less :matches() is not supported #56

alex-kinokon opened this issue Dec 12, 2017 · 5 comments
Assignees
Labels
feature-request Request for new features or functionality not-yet-standardized
Milestone

Comments

@alex-kinokon
Copy link

image

Error is ) expected.

octref added a commit to octref/vscode-css-languageservice that referenced this issue Jan 17, 2018
octref added a commit to octref/vscode-css-languageservice that referenced this issue Jan 17, 2018
@octref
Copy link
Contributor

octref commented Jan 23, 2018

:matches is still in Working Draft phase and the spec is constantly being updated:

https://drafts.csswg.org/selectors-4/#selector-list

And it does not have much browser coverage either:

https://caniuse.com/#feat=css-matches-pseudo

So we would like to postpone the support until it gets more support from browser vendors or becomes a more formal spec.

@octref octref closed this as completed Jan 23, 2018
@octref octref added this to the Backlog milestone Jan 23, 2018
@octref octref added the feature-request Request for new features or functionality label Jan 23, 2018
@octref
Copy link
Contributor

octref commented Jan 23, 2018

Think I should keep the issue open and add it to backlog instead.

@alex-kinokon
Copy link
Author

According to caniuse.com, it is now supported by browsers of over 94.19% users globally.

@Semigradsky
Copy link
Contributor

@proteriax For me (vscode 1.63.2) there are no errors.
image

Also :matches() was renamed to :is() - https://caniuse.com/css-matches-pseudo

@aeschli
Copy link
Contributor

aeschli commented Jan 18, 2022

Thanks for reporting @Semigradsky , closing the issue then.

@aeschli aeschli closed this as completed Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality not-yet-standardized
Projects
None yet
Development

No branches or pull requests

4 participants