The reason for avoidance of `<` (in the past) was compatibility, not really syntax, as far as I remember. I don’t fancy `%` as a binary operator either, but it has precedent elsewhere. The advantages of `>` over `max()` are really the same as for `+` vs. `sum()`, except that _plus_ is much better established externally. Semantically, `>` continues with the larg*er* of the adjacent terms, whereas `max()`selects the large*est* out of a list. I prefer the latter in programming languages and spreadsheet applications, but, unlike those, CSS has only scalars to deal with – no vectors, ranges, arrays or objects (except perhaps for `<<color>>` eventually). We don’t need more JS notation in CSS. -- GitHub Notification of comment by Crissov Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/544#issuecomment-268748355 using your GitHub accountReceived on Thursday, 22 December 2016 08:42:06 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:06 UTC