- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 26 Sep 2024 22:23:32 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-animations-2] there should be a way to set the effect-wide easing for a CSS Animation`, and agreed to the following: * `RESOLVED: add the 'animation-easing' as defined in the issue, and add a new initial value for animation-timing-function to something that computes to ease or linear depending on animation-easing` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> flackr: currently, we only have animation-timing-function, which sets easing between keyframes<br> <TabAtkins> flackr: Web Anim also lets you set an easing across the netire animation<br> <TabAtkins> flackr: i think we discussed this previously, but I ahve a conrete proposal now<br> <TabAtkins> flackr: hopefully can resolve<br> <TabAtkins> flackr: 'animation-easing' property that sets the iteration-wide easing of the animation, defined the same as Web Animation<br> <TabAtkins> flackr: setting this property to a non-default value (which implies we need 'auto') would reset animation-timing-function to 'linear' by default<br> <TabAtkins> flackr: becuase a-t-f defaults to ease, you probably don't want that by default if the whole animation is eased<br> <TabAtkins> flackr: but you *can* specify both if you want<br> <TabAtkins> flackr: a use-case for doing both is a step animation that eases the timing of the steps<br> <astearns> ack fantasai<br> <Zakim> fantasai, you wanted to ask about compounding easing vs resetting<br> <TabAtkins> fantasai: I think having a shorthanding relationship is gonna be confusing<br> <TabAtkins> fantasai: if the concern is the initial value, we should change the a-t-f initial vlaue to something else that computes to linear or ease, depending<br> <TabAtkins> fantasai: that way if yous pecify both it works regardless of order<br> <TabAtkins> fantasai: other than that, makes sense<br> <TabAtkins> dbaron: clarify, the idea is not that it's some new type of easing, it's jsut setting the easing between every set of keyframes?<br> <TabAtkins> flackr: No, that's what a-t-f does, this is the animation-easing form WebAnim<br> <TabAtkins> dbaron: don't know what that does<br> <TabAtkins> flackr: It changes the time for the whole animation<br> <TabAtkins> dbaron: okay so your 50% keyframe isn't at 50% of the time, it's eased in some way<br> <TabAtkins> flackr: yes, and this is already widely implemented in Web Anim, it's not new behavior<br> <TabAtkins> flackr: proposed resolution is we add the 'animation-easing' as defined in the issue, and add a new initial value for animation-timing-function to something that computes to ease or linear depending on animation-easing<br> <emilio> q+<br> <astearns> ack dbaron<br> <astearns> q+ ydaniv<br> <TabAtkins> fantasai: just wanna make *sure* you want to change the default from ease<br> <TabAtkins> TabAtkins: yes, stacking 'ease' in both whole aniamtion and keyframes looks really bad most of the time<br> <TabAtkins> flackr: and Web Anim defaults all of them to linear anyway, the 'ease' default is from CSS<br> <fantasai> what should this keyword be though. 'normal'? 'auto'? 'none'?<br> <TabAtkins> emilio: to be clear, we add some 'auto' value to a-t-f so it looks at animatino-easing?<br> <ydaniv> q-<br> <TabAtkins> flackr: yes<br> <astearns> ack emilio<br> <TabAtkins> emilio: and presumably in animation-easing too, to distinguish it from an author-set linear<br> <TabAtkins> flackr: yes<br> <TabAtkins> emilio: and so the two share the syntax<br> <TabAtkins> flackr: yes<br> <TabAtkins> emilio: that sound ok<br> <TabAtkins> emilio: so if they're both auto, you get linear a-easing and 'ease' a-t-f<br> <TabAtkins> emilio: so this would be part of the animation shorthand presumably?<br> <TabAtkins> flackr: that's a separate issue<br> <TabAtkins> astearns: so proposed resolution to add animation-easing and a new initial value for a-t-f<br> <TabAtkins> emilio: do we need to *compute* the a-t-f value?<br> <TabAtkins> TabAtkins: probably can't change the observable initial vlaue<br> <TabAtkins> emilio: maybe another resolved value exception...<br> <TabAtkins> emilio: do we need the same thing for transitions<br> <TabAtkins> TabAtkins: transitions only have one keyframe, so no, not yet<br> <TabAtkins> flackr: you can attach keyframes to transitions with Web Anim, but then you have access to animationEasing again<br> <fantasai> We're also resolving this right? https://github.com/w3c/csswg-drafts/issues/8881<br> <TabAtkins> RESOLVED: add the 'animation-easing' as defined in the issue, and add a new initial value for animation-timing-function to something that computes to ease or linear depending on animation-easing<br> <TabAtkins> TabAtkins: yes, this closes 8881 too<br> <fantasai> scribenick: fantasai<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6982#issuecomment-2378038074 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 26 September 2024 22:23:33 UTC