WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Animation property broken when using partial shorthand #337

@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