W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2016

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

From: Brad Kemper via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Jul 2016 17:24:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-233705034-1468949040-sysbot+gh@w3.org>
@leaverou what I proposed is that the commas are separating compound 
values in a list of fallbacks (color() values, not complete functional
 notations of `color()`). So if they are used for that, then they 
shouldn't be used within each compound value in that list. That would 
be confusing, and harder to read. So a slash would be a separator of 
the sub-value groups, to group and separate the color channels from 
the alpha and/or profile identifier. 

Maybe a separator would not be necessary for the profile identifier, 
but it would help distinguish the alpha from the other component 
values (without making the alpha seem like a separate item in the list
 of fallbacks). 

Once you do have a slash, you can put alpha and profile identifier on 
one side of the slash, and color channels on the other. 

GitHub Notification of comment by bradkemper
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 19 July 2016 17:24:19 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:00 UTC