Re: [csswg-drafts] [css-values-4] Should arguments to min/max get simplified when only partial simplification is possible? (#4756)

Ah, my intention in getting that resolution was to be able to simplify down the arguments themselves to the minimal form; I wasn't expecting to do things like combining min() arguments that are already known to be comparable.

Similarly, I wasn't planning on reordering the arguments.

All of these sorts of changes are things I'm not necessarily *opposed* to, but it's more complication to the simplification algorithm for what I assume is relatively little benefit. Do you feel like it is significantly worthwhile to do so? If so I could be convinced.

> Sums can do partial simplifications but I would special-case them since they are an operator. But I would treat functions as black boxes until we have resolved all their arguments and can call them. They may very well be black boxes once we let authors define their own custom functions with JS.

Yup, this is my current thinking.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4756#issuecomment-583672540 using your GitHub account

Received on Saturday, 8 February 2020 00:23:52 UTC