We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:has()
@supports
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
@supports can now also check for selector features.
:has() should not be transformed if the stylesheet author made the selector conditional.
@supports (selector(:has(works))) { :has(foo) {} }
@supports (selector(:has(works))) { [\:has\(foo\)] {} :has(foo) {} }
npx @csstools/csstools-cli <plugin-name> minimal-example.css
Yes
No response
CSS Has Pseudo
any
The text was updated successfully, but these errors were encountered:
Ignoring :has() within @supports check
0f9c89e
#312
Updating tests
4933d26
Ignore has inside supports (#333)
f3a0552
* Ignoring `:has()` within `@supports` check #312 * Updating tests #312 * Updating CHANGELOG
Successfully merging a pull request may close this issue.
Bug description
@supports
can now also check for selector features.:has()
should not be transformed if the stylesheet author made the selector conditional.Source CSS
Expected CSS
Actual CSS
Does it happen with
npx @csstools/csstools-cli <plugin-name> minimal-example.css
?Yes
Debug output
Extra config
No response
What plugin are you experiencing this issue on?
CSS Has Pseudo
Plugin version
any
What OS are you experiencing this on?
No response
Node Version
any
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: