-
Notifications
You must be signed in to change notification settings - Fork 193
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
Ligthning generate :is with pseudo element #352
Comments
Actually I'm not convinced that this is valid for nesting either... https://drafts.csswg.org/css-nesting/#example-7145ff1e Related: w3c/csswg-drafts#7433 |
It seems you're right, this is a very odd limitation. Maybe Parcel should emit a warning here, I can imagine I won't be the first being caught by surprise here :D |
For lightningcss 1.0.0-alpha.55, the double semicolon |
I filed a separate issue: #760 |
For the following styles inputdialog:modal, dialog:modal::backdrop {
@starting-style {
opacity: 0;
}
opacity: 1;
} outputdialog:modal {
opacity: 1;
}
@starting-style {
dialog:modal {
opacity: 0;
}
}
dialog:modal::backdrop {
opacity: 1;
}
@starting-style {
dialog:modal::backdrop {
opacity: 0;
}
} expecteddialog:modal, dialog:modal::backdrop {
opacity: 1;
}
@starting-style {
dialog:modal, dialog:modal::backdrop {
opacity: 0;
}
} |
Hi,
Considering the following code:
ParcelCSS will generate the following CSS:
Playground URL
However, using a pseudo element selector is not valid inside :is, so it should generate this instead:
The text was updated successfully, but these errors were encountered: