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: Thu, 14 Jul 2016 20:42:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-232786216-1468528957-sysbot+gh@w3.org>
> There's no need for any of those slashes; they serve no purpose for 
disambiguation. And there's no need for a comma separating the 
fallback from the rest, for the same reason. color() is also allowed 
in fallback, intentionally - you can fallback to a different 

Having multiple nestlings of color() in order to get multiple 
fallbacks is exactly what I don't like about that. It's ugly and 
unreadable. It would be better, and more consistent with other CSS, if
 commas were used for separating the multiple fallbacks WITHOUT having
 to repeat the `color(` on one side and `)` on the other. And once you
 do that, then comma is no longer available as a visual separator of 
the subgoubings. Thus, a slash instead. 

GitHub Notification of comment by bradkemper
Please view or discuss this issue at 
using your GitHub account
Received on Thursday, 14 July 2016 20:42:51 UTC

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