W3C home > Mailing lists > Public > www-style@w3.org > March 2008

[css3-color] Structure

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Fri, 28 Mar 2008 20:05:38 +0100
Message-Id: <E9F17F41-5B93-4A1C-8E17-793A87221BB0@crissov.de>
To: CSS Style <www-style@w3.org>

The Editor’s Draft currently has this structure:

...
3.1	Foreground color: the ‘color’ property
3.1.1	Gamma correction
3.2	Transparency: the ‘opacity’ property
4.	Color units
4.1	HTML4 color keywords
4.2	Numerical color values
4.2.1	RGB color values
4.2.2	RGBA color values
4.2.3	‘transparent’ color keyword
4.2.4	HSL color values
4.2.5	HSLA color values
4.3	SVG color keywords
4.4	'currentColor' color keyword
4.5	CSS System Colors
4.5.1	CSS2 System Colors
4.6	Notes on using colors
5.	Simple alpha compositing
...

I suggest to change it to something like this (without changes to  
content):

...
3.1	Foreground color: the ‘color’ property
3.2	Transparency: the ‘opacity’ property
4.	Color units
4.1	Numerical color values
4.1.1	RGB color values
4.1.2	RGBA color values
4.1.3	HSL color values
4.1.4	HSLA color values
4.2	Absolute color keywords
4.2.1	HTML4 color keywords
4.2.2	SVG color keywords
4.3	Relative color keywords
4.3.1	‘transparent’ color keyword
4.3.2	‘currentcolor’ color keyword
4.3.3	System color keywords
5	Notes on using colors
5.1	Gamma correction
5.2	Simple alpha compositing
...

(I’m not sure about “absolute” and “relative”, though.)

More editorial stuff:

Section 4.2.4.1. HSL Examples (shouldn’t that read “4.2.4.1 HSL  
examples”?) uses the inverted exclamation mark (¡) throughout where,  
I assume, a degree symbol (°) belongs. Sometimes ' and ", sometimes  
‘, ’, “ and ” are being used.

The absolute named colors (HTML/VGA and SVG/X11) should use the same  
table formats (perhaps Sample | Name | Red | Green | Blue or Sample |  
Name | Hexadecimal). Do the HTML colors really have to be repeated in  
the SVG section?

By the way, I don’t care about issue 15 (hue in percentage) any more,  
although I still do consider “This angle is so typically measured in  
degrees that the unit is implicit in CSS” (for hue) a bug and alpha  
not being a percentage a nuisance (issue 14).
Received on Friday, 28 March 2008 19:06:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:02 GMT