- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 07 Feb 2020 14:40:26 +0000
- To: public-css-archive@w3.org
Also, how far would this partial simplifications go? Like `max(3em, 3px + 1em, 1px + 2em)`, mathematically it can be simplified to `max(3em, 3px + 1em)` because `1px + 2em < 3em` when `1em > 1px` and `1px + 2em < 3px + 1em` when `1em < 2px`. So no matter the value of `1em`, `1px + 2em` will be smaller than some of the other expressions. However, this may not be that trivial to find. And it can get much worse if we have nested functions, especially non-linear like `exp()` or non-continuous like `round()`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4756#issuecomment-583417507 using your GitHub account
Received on Friday, 7 February 2020 14:40:28 UTC