-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 scoping breaks specificity of css rules using > #4795
Labels
Comments
Note if I change: main div > button to main div button This works around the bug. So it seems like svelte is failing to deal with |
insidewhy
changed the title
css scoping breaks specificity of my css rules
css scoping breaks specificity of css rules using >
May 7, 2020
Note that 3.16.5 was the last version to handle this properly, and starting with 3.16.6+ it instead displays this bug, likely due to #4146 fixing #1277. |
4 tasks
This is fixed in 3.25.1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a minimal example:
The button has color red when it clearly should be blue.
Here's the generated css which inverts the specificity of these two rules:
The text was updated successfully, but these errors were encountered: