Re: [csswg-drafts] [scroll-animations-1][css-animations-2] animation short-hand support for new properties (#8054)

> It used to be common for scroll-linked animations, which were all based on `ScrollTimeline`-like implementations, to use a start offset (delay) and pixel-duration (duration), rather then an end offset (end delay). Though this technique may be obsolete with the invention of `ViewTimeline`, I think it may still be worthwhile to allow specifying a timeline either by a duration or and end-offset.
> 
> Is there a way to achieve this? I guess simply using positive/negative values won't work, perhaps with using `offset()` and `range()` with `ScrollTimeline`?

This issue is merely to decide on the syntax for the animation shorthand ideally avoiding parsing ambiguity. It is a helper for all of the longhand properties. If in #7575 we decide to go with allowing lengths there then we would allow them here as well.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8054#issuecomment-1325678794 using your GitHub account


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

Received on Wednesday, 23 November 2022 21:30:11 UTC