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

I'm currently leaning towards no commas in color(), since the syntax 
allows keywords, has optional arguments, etc. which are more CSSy than
 traditional functions. But I also lean towards requiring the slash 
for readability, since as ChrisL points out, it's hard to visually 
parse a color consisting of all percentages. And imho percentages are 
the most natural way to represent a range between 0 and 1, so they 
should be comfortable to use for all of the color coordinates.

[While we're at this, though, we should also review all our other 
functions for consistency. The comma-less syntax we're discussing here
 is consistent with the attr() function in V&U, but Grid's repeat(), 
for example, probably doesn't need its comma either.]

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

Received on Wednesday, 13 July 2016 21:20:01 UTC