From a6db2ca649cbc62cfc421e17c12dcf3ac809326d Mon Sep 17 00:00:00 2001 From: Tab Atkins-Bittner Date: Tue, 23 Apr 2024 12:41:10 -0700 Subject: [PATCH] [css-values-5][editorial] Rephrase the calc-size()/non-calc-size() interpolation paragraph for clarity. #10220 --- css-values-5/Overview.bs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/css-values-5/Overview.bs b/css-values-5/Overview.bs index d3d9ed28cc8..49f27438414 100644 --- a/css-values-5/Overview.bs +++ b/css-values-5/Overview.bs @@ -1883,9 +1883,13 @@ so the ''calc-size()'' has to masquerade as one or the other. This, unfortunately, means you can't transition between keywords, like going from ''width/auto'' to ''width/min-content''. -As well, a ''calc-size()'' can be interpolated -with a <> or an <>, -behaving as if the second value were ''calc-size(value)''. +Some ''calc-size()'' values can also be interpolated +with a <> or an <>. +To determine whether the values can interpolate +and what the interpolation behavior is, +treat the non-''calc-size()'' value +as ''calc-size( value )'' +and apply the rules above.
For example, ''calc-size()'' allows interpolation to/from ''height: auto'':