Skip to content

Commit

Permalink
[css-animations-2] Make animation-duration:auto resolve to 0s for leg…
Browse files Browse the repository at this point in the history
…acy compat #6530
  • Loading branch information
fantasai committed Jun 29, 2023
1 parent 061a3b6 commit bb3a7c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions css-animations-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,12 @@ Declaring Animations</h2>
However, if 'animation-fill-mode' is set to ''animation-fill-mode/none''
the keyframes of the animation animation will have no noticeable effect.
For backwards-compatibility with Level 1,
when the [=computed value=] of 'animation-timeline' is ''animation-timeline/auto''
(i.e. only one list value, and that value being ''animation-timeline/auto''),
the [=resolved value=] of ''animation-duration/auto'' for 'animation-duration'
is ''0s'' whenever its [=used value=] would also be ''0s''.
## The 'animation-timing-function' property ## {#animation-timing-function}
The 'animation-timing-function' is used to determine the [=timing function=]
Expand Down

0 comments on commit bb3a7c2

Please sign in to comment.