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

Animation property broken when using partial shorthand #337

Open
AaronAsAChimp opened this issue Nov 12, 2022 · 0 comments · May be fixed by #879
Open

Animation property broken when using partial shorthand #337

AaronAsAChimp opened this issue Nov 12, 2022 · 0 comments · May be fixed by #879
Labels
bug Something isn't working

Comments

@AaronAsAChimp
Copy link

When using a partial shorthand for the animation property, lightningcss replaces the value with none.

Expected behavior, the following is unmodified:

.foo {
  animation: infinite;
}

Actual behavior, the property value becomes "none":

.foo {
  animation: none;
}

When all properties are specified it behaves correctly:

.foo {
  animation: 3s ease-in 1s infinite reverse both running slidein;
}

Link to playground

@mischnic mischnic added the bug Something isn't working label Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants