W3C home > Mailing lists > Public > www-style@w3.org > January 2011

Re: [css3-color] Fractional values for HSL

From: Rob Crowther <robertc@boogdesign.com>
Date: Tue, 04 Jan 2011 16:31:45 +0000
Message-ID: <4D234B71.9040904@boogdesign.com>
To: "www-style@w3.org list" <www-style@w3.org>
Peter Beverloo wrote:
> So syntactical speaking: yes, they are allowed.

Thanks, I was keyword searching the color spec for 'integer' and 
'fraction', should have looked in the syntax module.

> Can't you compare the displayed colors of
> "hsl(210,50%,40.999%)" with "hsl(210,50%,40.001%)"?
> 
I can't see any difference between hsl(210,50%,13.3%) and 
hsl(210,50%,13%) but that doesn't tell me whether there ought to be, or 
whether the browser is just rounding to 13% in both cases.

Rob
Received on Tuesday, 4 January 2011 16:35:22 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT