[csswg-drafts] Pull Request: [css-animations-2] Accept 'auto' for animation-duration in shorthand

fantasai has just labeled a pull request from cdoublev for https://github.com/w3c/csswg-drafts as "css-animations-2":

== [css-animations-2] Accept 'auto' for animation-duration in shorthand ==
https://github.com/w3c/csswg-drafts/commit/2a7cc4b58f903389926cb429af2f42307dced186 added `auto` to `animation-duration` but `<single-animation>` only accept `<time>`.

> Name: `animation-duration`
> Value: `[ auto | <<time [0s,∞]>> ]#`

  > `<single-animation> = <time [0s,∞]> || <easing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]`
> 
> Note that order is important within each animation definition: the first value in each `<single-animation>` that can be parsed as a `<time>` is assigned to the `animation-duration`

https://drafts.csswg.org/css-animations-1/#typedef-single-animation

See https://github.com/w3c/csswg-drafts/pull/8570


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 28 March 2023 20:44:54 UTC