-
Notifications
You must be signed in to change notification settings - Fork 746
Description
The rules for interpolating calc-size()
(see #626) currently say:
As well, a
calc-size()
can be interpolated with a<length-percentage>
or an<intrinsic-size-keyword>
, behaving as if the second value werecalc-size(value)
.
I see a few issues with this sentence.
First, the expression calc-size(value)
at the end doesn't make sense, because calc-size()
takes two arguments. I think it might be that what this meant to say is "behaving as if the non-calc-size()
value value were calc-size(
value , size)
. But there are other possible options here (although I think they have problems and this one is probably correct).
Second, this sentence seems to imply that all such combinations can be interpolated. It seems to me, particularly if the above interpretation is correct (rather than instead being calc-size(any,
value )
for <length-percentage>
values), that many such combinations cannot be interpolated, given the rules at the start of the section saying when two calc-size()
values can be interpolated.