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

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

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 13 Jul 2016 12:30:40 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-232340546-1468413039-sysbot+gh@w3.org>
> Lea says in her comment that color(foo .1 .2 .3 .5) is hard to read,
 because it's unclear whether the fourth number is a fourth arg to the
 colorspace or the alpha (I agree). But if you just write color(foo .1
 .2 .3 50%), that problem completely disappears - it's now 100% 
obvious

Right, until you write color(foo 10% .20% 30% 50%) and then it is hard
 to read again. A comma (or slash, as brad suggests) would help there.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/266#issuecomment-232340546 
using your GitHub account
Received on Wednesday, 13 July 2016 12:30:49 UTC

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