From 2f389764a9de6419099cd1e95b62e80cbac5b365 Mon Sep 17 00:00:00 2001 From: fantasai Date: Mon, 12 Jun 2023 18:49:13 -0400 Subject: [PATCH] [css-animations-2] Make animation-duration:auto resolve to 0s for legacy compat #6530 --- css-animations-2/Overview.bs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css-animations-2/Overview.bs b/css-animations-2/Overview.bs index 7c83f9637c4..0ef87754130 100644 --- a/css-animations-2/Overview.bs +++ b/css-animations-2/Overview.bs @@ -462,6 +462,12 @@ Declaring Animations 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=]