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

fix css specificity #4146

Merged
merged 4 commits into from
Dec 23, 2019
Merged

Conversation

tanhauhau
Copy link
Member

Fixes #1277

Work on top of #3475, adding #3475 (comment)

  • if any selectors added more than +1 class specificity, will add the equal amount in other selectors to preserve the specificity precedence.

@tanhauhau tanhauhau force-pushed the tanhauhau/css-speicificty branch from d7f2a57 to ea0a873 Compare December 23, 2019 03:30
@Conduitry Conduitry merged commit c0dab9f into sveltejs:master Dec 23, 2019
@tanhauhau tanhauhau deleted the tanhauhau/css-speicificty branch December 24, 2019 10:05
taylorzane pushed a commit to taylorzane/svelte that referenced this pull request Dec 17, 2020
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

Successfully merging this pull request may close these issues.

Encapsulated CSS specificity bug
3 participants