Skip to content

Animation property broken when using partial shorthand #337

Open
@AaronAsAChimp

Description

@AaronAsAChimp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions