Re: [csswg-drafts] [css-color-5] Make syntax of color-contrast() more like a math function (#7354)

I agree that a keyword implies higher precedence than a comma, both in programming languages, as well as natural language. Every time I see `a vs b, c` I read it as `(a vs b), c`, rather than the intended `a vs (b, c)`.

I like @fantasai's suggestion which I listed in #7359.

We should also not have metadata about the whole operation at the end of a comma-separated list. There is no precedent for that in CSS, and it makes it weird to read.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 14 June 2022 18:37:19 UTC