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: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Wed, 10 Jul 2019 00:54:53 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-509864551-1562720092-sysbot+gh@w3.org>
> I don't think the caveat about "non-identical functions" needs to be there. 

Yeah, that's just another optional simplification. It would only be relevant if you're talking about comparing top level expressions, where you need to know if you're actually transitioning the value at all, or if before and after have identical computed values.

> Registered custom properties enables non-linear interpolation via function parameter interpolation.

Yes, that is definitely another argument for keeping the default behavior simple: the author can always force a different interpolation behavior by interpolating a variable instead of the complete expression, as Oriol showed [above](https://github.com/w3c/csswg-drafts/issues/4082#issuecomment-508532182).

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4082#issuecomment-509864551 using your GitHub account
Received on Wednesday, 10 July 2019 00:54:55 UTC

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