From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>

Date: Wed, 10 Jul 2019 16:08:25 +0000

To: public-css-archive@w3.org

Message-ID: <issue_comment.created-510126631-1562774904-sysbot+gh@w3.org>

Date: Wed, 10 Jul 2019 16:08:25 +0000

To: public-css-archive@w3.org

Message-ID: <issue_comment.created-510126631-1562774904-sysbot+gh@w3.org>

The CSS Working Group just discussed `How to interpolate min/max/clamp?`, and agreed to the following: * `RESOLVED: For interpolation math functions are treated as atomic algebraic terms. You interpolate a calc expression that is the weighted sum of all the terms` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: How to interpolate min/max/clamp?<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/4082<br> <dael> AmeliaBR: I agenda+ it, though thinking of it for next week.<br> <dael> AmeliaBR: We're starting to get consensus, at least TabAtkins and I and Alan C agree<br> <dael> AmeliaBR: We have new mask functions including these functions. We don't have anything that defines how work in animations and transitions. They generally work on computed values and these functions exist at computed time so need to define how to interpolate<br> <smfr> s/mask/math/<br> <dael> AmeliaBR: Proposal is that interpolation would be a linear interpolation of the terms where the functions on the initial side of interpolation are scaled to to multiplied by 0 and on the result side the scaled up from 0 to 1. Intermediary result is the sum of those terms<br> <dael> AmeliaBR: Important benefits of the approach is you can define the intermediary value as a computed value without needing to sub in values from layout. And you can do mathematical simplification and it won't change result<br> <dael> AmeliaBR: If author wants different interpolation like changing power and want power interpolated instead of results they can do by custom properties and interpolate the custom prop rather then final mathematical expression<br> <dael> Rossen_: Other comments or thoughts?<br> <dael> AmeliaBR: Prop: For interpolation math functions are treated as atomic algebraic terms. You interpolate a calc expression that is the sum of all the terms<br> <dbaron> weighted sum, I hope :-)<br> <dael> Rossen_: Okay. Any objections?<br> <fremy> LGTM<br> <dael> AmeliaBR: Yes, weighted sub by the interpolation factor<br> <dael> s/sub.sum<br> <dael> s/sub/sum<br> <TabAtkins> Aka, if interpolating between any two expressions A and B, the interpolation is *defined as* calc(.X*A + (1-.X)*B) (plus any algebraic simplifications)<br> <svoisen> jensimmons: There are links for both calendars at the bottom of this message https://lists.w3.org/Archives/Member/w3c-css-wg/2017OctDec/0076.html<br> <dael> RESOLVED: For interpolation math functions are treated as atomic algebraic terms. You interpolate a calc expression that is the weighted sum of all the terms<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4082#issuecomment-510126631 using your GitHub accountReceived on Wednesday, 10 July 2019 16:08:26 UTC

*
This archive was generated by hypermail 2.4.0
: Tuesday, 5 July 2022 06:41:50 UTC
*