We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(Realized I never made an issue to go with #1200)
with the cascade: false option, CSS in @supports blocks is getting removed
cascade: false
@supports
Here's a REPL: https://svelte.technology/repl?version=1.56.2&gist=e546039fc8c9aede35b4bff161016682
<div class='maybe-grid'>something with a nice layout</div> <style> @supports (display: grid) { .maybe-grid { display: grid; } } </style>
You would expect to get the code within the block e.g.
@supports (display: grid) {.maybe-grid[svelte-xyz]{display:grid}}
but you currently get
@supports (display: grid) {}
I have an attempt at a fix in #1200 . I made the probably naive assumption that @supports blocks should be treated in a similar fashion to @media
@media
The text was updated successfully, but these errors were encountered:
Thanks! I think treating it similarly to @media probably makes sense. Released 1.56.4 with the fix
Sorry, something went wrong.
No branches or pull requests
(Realized I never made an issue to go with #1200)
with the
cascade: false
option, CSS in@supports
blocks is getting removedHere's a REPL: https://svelte.technology/repl?version=1.56.2&gist=e546039fc8c9aede35b4bff161016682
You would expect to get the code within the block e.g.
but you currently get
I have an attempt at a fix in #1200 . I made the probably naive assumption that
@supports
blocks should be treated in a similar fashion to@media
The text was updated successfully, but these errors were encountered: