W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

Re: [csswg-drafts] [css-values-4] How to interpolate min/max/clamp? (#4082)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 09 Jul 2019 20:23:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-509793538-1562703831-sysbot+gh@w3.org>
Yes, I agree with this approach (interpolation is basically just treating each side as opaque); I spent some time thinking on it yesterday and came to the same conclusion, but didn't have the time to write it down yet. ^_^

I don't think the caveat about "non-identical functions" needs to be there. All math interpolation would just be scaling and summing the two endpoints, it's just that algebraic simplification is allowed to occur. The old "line up the components and interpolate each" is identical in result to this, since the components all combine linearly as well.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4082#issuecomment-509793538 using your GitHub account
Received on Tuesday, 9 July 2019 20:23:54 UTC

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