[csswg-drafts] [css-color] Unnecessary comma in color()

tabatkins has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-color] Unnecessary comma in color() ==
color()'s grammar is:

```
<ident> , <args> , <alpha>?, <fallback>?
```

The comma between the args and alpha is required, as we don't know how
 many args they are and both can be numbers.  The comma between the 
fallback and the preceding  stuff isn't strictly necessary, but it's 
pretty natural and matches up with other function's fallback 
arguments.

But the comma between the colorspace name and the arguments isn't 
necessary. There's no grammatical ambiguity possible, nor any strong 
tradition of comma usage in similar situations.

Can we remove it? Then we won't need any commas in the common case, 
like `color(adobe-rgb 255 0 0)`.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/266 using your GitHub 
account

Received on Monday, 4 July 2016 16:10:56 UTC