[csswg-drafts] [web-animations-2] Why are Range Configs Applied to the Animation and not the Timeline? (#10276)

nxtexe has just created a new issue for https://github.com/w3c/csswg-drafts:

== [web-animations-2] Why are Range Configs Applied to the Animation and not the Timeline? ==
Why are the range configs (rangeStart, rangeEnd, rangeName, offset) for ScrollTimeline and ViewTimeline animations specified on [KeyframeAnimationOptions](https://drafts.csswg.org/web-animations-1/#the-animatable-interface-mixin) instead of on the timeline themselves? These seem specific to the timeline in use and I'm further confused by the fact that in JavaScript you can only specify these configs using the [Animatable.animate()](https://drafts.csswg.org/web-animations-1/#animatable) method and not via the [Animation](https://drafts.csswg.org/web-animations-1/#dom-animation-animation) constructor.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10276 using your GitHub account


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

Received on Thursday, 2 May 2024 23:15:33 UTC