- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Feb 2020 13:55:37 +0000
- To: public-css-archive@w3.org
> I think not doing this would be somewhat inconsistent with how all implementations work for cases like `color: rgba(0, 0, 0, min(10%, 50%))` or such. Why? Per https://drafts.csswg.org/css-values/#calc-type-checking, the type of the calculation is «[ "percent" → 1 ]». The percentages don't need to be further resolved in order to calculate the `min(10%, 100%)`. So it can be simplified away at specified-value time. It's different for `background-size`. There the percentages are resolved into lengths with respect to the background positioning area, which depends on layout. So it seems to me that `min(10%, 100%)` shouldn't be simplified until used-value time. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4550#issuecomment-591437756 using your GitHub account
Received on Wednesday, 26 February 2020 13:55:38 UTC