- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Wed, 06 Jul 2016 20:36:13 +0000
- To: public-css-archive@w3.org
Okay, you wanna be radical, let's be *radical*: 1. Remove all commas from color(). 2. Drop that janky `<alpha-value>` nonsense, and just use `<percentage>` for the alpha. (Allowing multiple ways to write each arg is, I think, one of the mistakes of earlier color functions.) 3. Add an `srgb` predefined colorspace. 4. Let the colorspace be optional, and default to `srgb`. 5. Also remove commas and restrict alpha to %s in all the new color functions: lab(), lch(), gray(), hwb(). We can then treat rgb()/rgba() as legacy syntaxes for specifying RGB colors (and hsl()/hsla() are already legacy, since hwb() is more intuitive for srgb stuff, and lch() is generally better overall). (I'm not being facetious, I think this whole list is a great idea.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/266#issuecomment-230898208 using your GitHub account
Received on Wednesday, 6 July 2016 20:36:24 UTC