-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-animations-2] Add 'auto' as initial value of 'animation-duration'.
- Loading branch information
Showing
1 changed file
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
While this [is the case in web-animations-1](In this level of this specification, the string value auto is treated as the value zero), web-animations-2 specifies that duration auto uses the intrinsic iteration duration which already defines how we get the range length (though needs to be updated to account for rangeStart and rangeEnd), and also defines an intrinsic iteration duration for group and sequence effects.
TLDR; I don't think we should redefine how auto works here, it should just say it sets the iteration duration to auto, possibly with a pointer to the calculations linked above.