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

CSS minifier fails to parse nested @starting-style CSS at-rule #301

Open
AderitoSilva opened this issue Mar 15, 2024 · 0 comments
Open

CSS minifier fails to parse nested @starting-style CSS at-rule #301

AderitoSilva opened this issue Mar 15, 2024 · 0 comments

Comments

@AderitoSilva
Copy link

AderitoSilva commented Mar 15, 2024

The CSS minifier treats nested @starting-style CSS at-rules as invalid CSS, and thus fails to minify CSS files that contain such rules.

An example case would be the following:

.my-active-class {
    color: red;
    @starting-style {
        color: green;
    }
}

The @starting-style CSS at-rule is still experimental, but using it in its nested form breaks parsing for the whole file.

@AderitoSilva AderitoSilva changed the title CSS minification doesn't handle nested @starting-style CSS at-rule CSS minifier fails to parse nested @starting-style CSS at-rule Mar 15, 2024
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

No branches or pull requests

1 participant