W3C home > Mailing lists > Public > www-style@w3.org > February 2003

[css3-colors] Comments on Last Call

From: (wrong string) äper <christoph.paeper@tu-clausthal.de>
Date: Sun, 16 Feb 2003 13:57:07 +0100
Message-ID: <001101c2d5ba$ea025550$3ef4ae8b@heim4.tuclausthal.de>
To: <www-style@w3.org>

· <alphavalue>, rgba, hsla etc.

I don't understand, why alpha values are noted as a number between 0 and 1,
while for colors percentages are used. They're pretty much the same, except
percentages are 100 times the value and sufficed by '%'.
HSL is the strangest: RGB allows you to decide, whether you use values
between 0 and 255 or percentages. HSL OTOH requires a mixture of these.
HSLA, as RGBA, even adds 0..1 for the alpha value--three different notations
in one color definition.


3.1. Foreground color: the 'color' property

| The computed value for HTML4 keywords, RGB hex values
| and SVG color keywords is the equivalent six digit hex value.
| The computed value of the keyword 'transparent' is rgba(0,0,0,0).

Am I the only one to whom this looks a bit strange (always hex, but for
'transparent')? Not that there was an alternative, except introducing 4 and
8 digit hex values with transparency.


3.1.1. Gamma correction

I really don't see, why details for browser implementation across OSs have
to be in the spec.


3.4. The 'rendering-intent' property

Hm, all the other baby-blue tables have more details than just the property
name.


4.1. HTML4 color keywords

The table should look like the one in 4.3.


4.2.4. HSL color values

| By definition red=0=360, and the other colors are
| spread around the circle, so green=120, glue=240,

:-D

I've never heard of the ABC programming language before, as may others, and
would prefer to see the algorithms expressed in English, although ABC is
somehow close to that.


4.2.4.1. HSL Examples

I haven't checked why, but the color charts are all placed next to each
other horizontally in my Opera 6.05.


4.3. SVG color keywords

Just wanted to express my objection against the /official/ inclusion of the
mad X11 color names, again. I'd have rather seen CNS or the suggestion from
<http://lists.w3.org/Archives/Public/www-style/2002May/0201.html>, which are
more user friendly and memorable.

Please adjust the case in the table header cells and use uppercase
hexadecimal digits.


4.4. 'currentColor' color keyword

Nothing against it, but camelCase isn't something CSS used to use, is it?
System colors use it, but with the starting letter being capital =>
'CurrentColor'.


4.5. CSS System Colors

If I have
    body {background: AppWorkspace;}
and the browser has a wallpaper for the MDI background (e.g. Opera allows
that), should/may this image be shown as page background or definitely just
the color?
This is of course a bit out of scope of the Color Module.


5. Sample style sheet for HTML 4.0

Why "HTML 4.0" and not "XHTML 1", "XHTML 1.1", "XHTML 1.0", "HTML 4.01" or
"HTML 4"? Well, for XHTML the first selector should presumably read "html,
body".
More generally: Why is HTML4 used as normative source, e.g. for color names,
instead of XHTML1?


Christoph Päper

--
<http://webdesign.crissov.de/Farbsysteme/Ben>
<http://webdesign.crissov.de/Farbsysteme/CNS>
Received on Sunday, 16 February 2003 07:57:09 GMT

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