- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 09 Oct 2023 20:02:52 +0000
- To: public-css-archive@w3.org
The spec doesn't do that distribution, currently, because doing so wouldn't meaningfully simplify the expression. The current rule means that `Product(Numeric, Sum(Numeric, Numeric, Numeric))` can be simplified to `Sum(Numeric, Numeric, Numeric)`, which is a noticeable simplification; we remove one level of nesting. But if there are math functions, like `Product(Numeric, Sum(MathFn, MathFn, MathFn))`, distributing the multiplication would leave you with `Sum(Product(Numeric, MathFn), Product(Numeric, MathFn), Product(Numeric, MathFn))` - it's no simpler, it just inverts the order of the nested functions. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9434#issuecomment-1753667047 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 9 October 2023 20:02:54 UTC