Re: WD-css3-color-20010305 comments

Jens Müller pondered in response to me:

>> "EM { color: rgb(255,0,0) }     /* RGB range 0-255   */"
>> Eliminate the range restriction.
> Why?

If the range restriction really existed, the declaration 
"color: rgb(300, 0, 0)" would be invalid and ignored.  Instead, 
CSS1 (<>) 
dictates that user agents accept the declaration and clip the value 
to the sRGB gamut.  CSS2 (<file://localhost/h/
R/REC-CSS2/syndata.html#color-units>) and CSS3 
r-20010305#numerical>)  are even more lax, dictating that 
user agents accept the declaration and leaving clipping as an issue 
of the device gamut.

CSS1 clips computed color values while CSS2 and CSS3 clip 
actual color values.  In no case does CSS impose a range 
restriction on specified color values.  Therefore we should 
eliminate the stated range restriction.

Etan Wexler

Received on Monday, 3 December 2001 00:57:58 UTC