As a follow up to #6530, @cdoublev filed #8570 to allow auto to be parsed in as a value for animation-duration when listed in the animation shorthand. This issue is to discuss whether we want to do that, given the complications of parsing animation.
Pros:
- Allows any value of
animation-duration to be inlined into the animation property.
Cons:
- Conflicts with any other use of
auto. This is unlikely to be a cause problems with keyframes names (which are unlikely to be named “auto”), but it could prevent us from easily inlining some other longhand of animation in the future.
Notes:
- It's easy to declare an
auto value for animation-duration in the animation shorthand by simply omitting the duration, since it's the initial value.
Opening this issue to invite discussion about which way to go here.