Skip to content

Commit a6db2ca

Browse files
committed
[css-values-5][editorial] Rephrase the calc-size()/non-calc-size() interpolation paragraph for clarity. w3c#10220
1 parent 3e64a48 commit a6db2ca

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

css-values-5/Overview.bs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,9 +1883,13 @@ so the ''calc-size()'' has to masquerade as one or the other.
18831883
This, unfortunately, means you can't transition between keywords,
18841884
like going from ''width/auto'' to ''width/min-content''.
18851885

1886-
As well, a ''calc-size()'' can be interpolated
1887-
with a <<length-percentage>> or an <<intrinsic-size-keyword>>,
1888-
behaving as if the second value were ''calc-size(<var ignore>value</var>)''.
1886+
Some ''calc-size()'' values can also be interpolated
1887+
with a <<length-percentage>> or an <<intrinsic-size-keyword>>.
1888+
To determine whether the values can interpolate
1889+
and what the interpolation behavior is,
1890+
treat the non-''calc-size()'' value
1891+
as ''calc-size( <var ignore>value</var> )''
1892+
and apply the rules above.
18891893

18901894
<div class=example>
18911895
For example, ''calc-size()'' allows interpolation to/from ''height: auto'':

0 commit comments

Comments
 (0)