- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 Sep 2019 13:34:10 +0000
- To: public-css-archive@w3.org
https://drafts.csswg.org/css-values/#determine-the-type-of-a-calculation says > If, in the context in which the math function containing this calculation is placed, `<percentage>`s are resolved relative to another type of value (such as in width, where `<percentage>` is resolved against a `<length>`), and that other type is not `<number>`, the type is determined as the other type. > Otherwise, the type is «[ "percent" → 1 ]». It doesn't seem unreasonable to me that, if the type of the percentage is e.g. «[ "length" → 1 ]», the percentage is resolved as a `<length>` in order to calculate min/max. But if the type is «[ "percent" → 1 ]», I would just compare the numeric parts of the percentages. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4227#issuecomment-529476980 using your GitHub account
Received on Monday, 9 September 2019 13:34:11 UTC