- From: Christoph Päper <christoph.paeper@crissov.de>
- Date: Fri, 14 Mar 2014 17:17:19 +0100
- To: www-style list <www-style@w3.org>
Regarding the current state of the Editor’s Draft: > The final argument, the <alpha-value>, specifies the alpha of the color. > > The final argument specifies the alpha channel of the color. > It’s interpreted identically to the fourth argument of the rgb() function The textual definitions of ‘rgb()’/‘rgba()’ and ‘hsl()’/‘hsla()’, as cited above, read as if the transparency value wasn’t limited to the …a variants any more, as is the case in ‘hwb()’, but the formal definitions don’t reflect that yet (or any more perhaps): rgb() = rgb( <component>, <component>, <component> [, <alpha-value>]? ) hsl() = hsl( <hue>, <percentage>, <percentage> [, <alpha-value>]? ) It would be a useful change, nevertheless. The “<color> type” section (3) should be split into two or three sections, not sub-sections, for numeral notation variants (3.1–2), named colors (3.3) and possibly the type itself (3.0 and 3.4).
Received on Friday, 14 March 2014 16:17:51 UTC