- From: CSS Meeting Bot via GitHub <noreply@w3.org>
- Date: Wed, 18 Jun 2025 17:02:47 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-animations-2][web-animations-2] How should AnimationTrigger work?`, and agreed to the following: * `RESOLVED: Triggers are an external controller of the animation` <details><summary>The full IRC log of that discussion</summary> <kbabbitt> DavidA: we're trying to add for scroll triggered animations to the spec<br> <kbabbitt> ... adding concept of animation trigger<br> <kbabbitt> ... idea is basically for scroll triggered animations you specify parameters related to scrolling<br> <kbabbitt> ... that will kick off the animation at a certain scroll point<br> <kbabbitt> ... there's an underlyinga nimation trigger object<br> <kbabbitt> ... that we're trying to figure out how that object should behavior<br> <kbabbitt> ... in relation to the animation<br> <kbabbitt> ... 2 models we're thinking about<br> <kbabbitt> ... trigger as inline mechanism<br> <kbabbitt> ... redefine ? animation as basically arming that trigger<br> <kbabbitt> ... so that when specified conditions are met it starts<br> <kbabbitt> ... other model is this external model where animation trigger is separate thing<br> <kbabbitt> ... bsaed on conditions that have been specified, it calls play on the animation etc<br> <kbabbitt> ... having discussion about that<br> <kbabbitt> ... would like to get a resolution<br> <kbabbitt> ... what we agreed on is to take the external model path<br> <kbabbitt> ... where an animation trigger calls play based on conditions that have been set on trigger<br> <kbabbitt> ... would like to get a resolution on that particular path<br> <kbabbitt> ... also posted in issue with proposal, other details<br> <kbabbitt> ... would like resolution on path to choose for animation trigger object<br> <kbabbitt> ... would also like resolution on the APIs we created to explicitly attach animations to triggers<br> <kbabbitt> ... with external model we need an explicit way to say trigger ?? animation<br> <kbabbitt> ... other way we need to define ... animations get triggers by default<br> <kbabbitt> ... with external model we're pursuing, we thing animationtrigger.addanimation / removeanimation would be the way to go<br> <kbabbitt> flackr: Brian Birtles is happy with external trigger approach<br> <kbabbitt> ... among spec authors we're happy with this design<br> <kbabbitt> Rossen6: others?<br> <Rossen6> a?<br> <Rossen6> q?<br> <TabAtkins> Sounds reasonable to me.<br> <ydaniv> q+<br> <kbabbitt> ydaniv: also in favor of this model<br> <kbabbitt> ... some reservation regarding other things<br> <kbabbitt> ... from brian's suggestions, comments in issue, but better to discuss separately<br> <kbabbitt> Rossen6: objections:<br> <kbabbitt> ?<br> <Rossen6> ack ydaniv<br> <flackr> Proposed resolution: Triggers are an external controller of the animation<br> <kbabbitt> RESOLVED: Triggers are an external controller of the animation<br> <flackr> Proposed resolution: AnimationTrigger.add/removeAnimation adds and removes animations from the trigger<br> <kbabbitt> Rossen6: objections?<br> <kbabbitt> ydaniv: had some reservation regarding multiple triggers for single animation<br> <kbabbitt> ... I think we need to see whether this works or makes things complicated<br> <kbabbitt> ... the way I see, we need something that says, how is this triggered<br> <kbabbitt> ... how is state evaluated together<br> <kbabbitt> ... is it AND or OR<br> <kbabbitt> ... and simply allowing multiple triggers per animation is maybe less useful or less ergonomic in many cases<br> <kbabbitt> ... so I would rather we also consider having a single trigger for animation<br> <kbabbitt> ... same trigger for many animations is already fine<br> <kbabbitt> Rossen6: suggest for second resolution, let's work it out in GitHub issue and we'll take it back up later<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12119#issuecomment-2985057242 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 18 June 2025 17:02:48 UTC