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

Add support for pseudo class :is #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tornqvist
Copy link

Adds support for the :is selector (aka. :matches, :any).

I also took the opportunity to add .gitignore and .npmrc files to exclude node_modules and package-lock without being dependent on local config.

@leeoniya
Copy link
Owner

leeoniya commented Feb 7, 2022

thanks :)

of course the main use case for this selector is with a list of sub-selectors > 1 (which would be a good thing to add in future alongside lists in :not()).

https://developer.mozilla.org/en-US/docs/Web/CSS/:is

@tornqvist
Copy link
Author

Agreed, this is mainly a quick fix to prevent crashing on unrecognized pseudo classes.

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

Successfully merging this pull request may close these issues.

None yet

2 participants