W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-values-4] How to interpolate <ratio>? (#4953)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 May 2020 00:16:56 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-635013072-1590625015-sysbot+gh@w3.org>
I don't find the linear interpolation *necessary*, but looking at the two examples, I do find it *better-looking*, at least when they're on the same scale.

But the scale-dependence really bothers me on a spec level (it shouldn't matter!), and looks *terrible* in practice when the scales differ by a lot.

> I don't see why. For transforms, we “upgrade” values as needed for interpolation, in a way that's separate from how computed values work.

Ah you're right. That resolves my issue, then. Let's just specify behavior 2 (interpolate over the division result), then.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4953#issuecomment-635013072 using your GitHub account
Received on Thursday, 28 May 2020 00:17:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC