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

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

From: Xiaocheng Hu via GitHub <sysbot+gh@w3.org>
Date: Wed, 03 Jul 2019 18:02:02 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-463885137-1562176921-sysbot+gh@w3.org>
xiaochengh has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4] How to interpolate min/max/clamp? ==
For interpolation, https://drafts.csswg.org/css-values-4/#combining-values says:

> These operations are only defined on computed values.

While https://drafts.csswg.org/css-values-4/#calc-computed-value says:

> The computed value of a min(), max(), or clamp() function is the comma-separated list of expressions, with each expression having all its component computed.

So their computed values are not numbers, and there's no straightforward way to interpolate them. Should this be explicitly specified?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4082 using your GitHub account
Received on Wednesday, 3 July 2019 18:02:07 UTC

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