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
Support full media query conditions #2538
Comments
For reference, this is supported in Firefox 63+. |
Those are announced to be shipping in Chrome 104, which should make the awaited browser support being there as Firefox already shipped them. |
I have a PR out for a proposal: #3344 |
The proposal has landed. Since it's relatively straightforward and unlikely to change, I'll give it two weeks for public comment. |
The initial deprecation phase has landed. We'll wait at least three months to give users a chance to migrate away from the deprecated syntax, then land full support. |
Deprecation
Final
The Media Queries Level 4 spec defines syntax for full boolean algebra among media features. At time of writing, I believe no browsers support this syntax, but once one does Sass should add support as well.
In addition to parsing additional forms, this will affect Sass's media query merging logic. For example, merging
not print
and(min-width: 600px)
should producenot print and not (min-width: 600px)
rather than failing entirely.The text was updated successfully, but these errors were encountered: