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

Re: CSS3 module: Color

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 27 Feb 2003 09:48:58 -0600
Message-ID: <3E5E336A.9080202@mit.edu>
To: Chris Lilley <chris@w3.org>
CC: www-style@w3.org

Chris Lilley wrote:

> JS> * { color: hsl(840, 100%, 50%) }
> 
> I agree that this aspect should be more clearly specified. It seems
> obvious that hue is a wraparound value but for consistency of
> implementation, it should be explicitly stated.

Oh, yes indeed.  Because it was not at all obvious to me, and my current 
implementation in fact does _not_ treat it as a wraparound value (I kept 
meaning to send mail asking for clarification about that, but never to 
around to it....).

Further, the matter of whether the hue is an integer or a float should 
also be clarified (eg for rgb() the non-percentage values are integers 
and it's easy to assume the same will hold for hsl(); not sure what the 
intent here is).
Received on Thursday, 27 February 2003 11:00:13 GMT

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