Re: [csswg-drafts] [css-color-5] color-contrast needs another comma (#5087)

> It does, but if I understand correctly the new world of comma usage means that commas are used to separate alternatives.

Remember that this is just the old world of comma usage, but used consistently across both properties and functions. So just ask yourself "how would I design a `color-contrast` property that needed to take these values?". (And pretend that the answer can't be "I'd split it into multiple properties because this is too complex" ^_^)

----

Thinking on this a bit more, I think I do prefer the `/`. It satisfies our usage patterns for `/` - we use `/` when we need a separator other than a space, but the separation isn't appropriate to use commas.

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

Received on Tuesday, 26 May 2020 17:52:38 UTC