- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Thu, 15 Aug 2024 19:54:05 +0000
- To: public-css-archive@w3.org
> > (or the new percentage keyword). > > What did you do for that case instead? Just set the basis of the canonicalized form to `100%` or something? I suppose my handling there wasn't as good. When interpolating between two `calc-size()` values with different bases where neither basis involved sizing keywords, I used `any` as the basis, which I suppose unnecessarily lost the percentage-ness. But I allowed any such combination to interpolate. I think the current spec text on interpolation, taken literally, says that two `calc-size()` values with a `<length-percentage>` basis can't be interpolated in any cases (since it says that only matching size-keyword bases, or the case where one or both have an `any` basis, can be interpolated). I suspect that was a mistake, though. 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? In any case, using `100%` instead of `percentage` in the canonicalized form seems better, since it avoids introducing an extra keyword. -- GitHub Notification of comment by dbaron Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10220#issuecomment-2292084638 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 19:54:06 UTC