Re: [csswg-drafts] [css-values-5] issues with interpolation rules for calc-size() (#10220)

> I suspect that was a mistake, though.

Indeed, my intention was that this case is caught by the first branch (matching keywords), but I didn't edit the condition there to actually make that happen.

> Was the intention to preserve the percentage-ness of the basis when either endpoint had a percentage, and to not interpolate when only one of them did? Or did you want to interpolate even if only one endpoint had a percentage?

I intended to interpolate in both cases, but I didn't reasonably capture the *lack* of percentage-ness you can get with `calc-size(50px, ...)`. I'll rewrite a little to make that clearer.

> In any case, using 100% instead of percentage in the canonicalized form seems better, since it avoids introducing an extra keyword.

Sounds good to me.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10220#issuecomment-2292110996 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 15 August 2024 20:02:49 UTC