Description
https://w3c.github.io/csswg-drafts/scroll-animations/#named-range-animation-declaration
The animation-delay and animation-range properties are both shorthands that set animation-delay-start and animation-delay-end together in a single declaration.
What's the point of having 2 shorthands if both have the same grammar and expand to the same set of longhands in the same way?
@cdoublev also confused in #7044 (comment)
@bramus said
Otoh I do understand the need for animation-range: it is more readable in the content of scroll-linked animations. E.g.
animation-range: exit
is easier to grasp thananimation-delay: exit
.
But then maybe restrict animation-delay
to <time>{1,2}#
and animation-range
to [ <timeline-range-name> <percentage>? ]{1,2}#
or something?