W3C home > Mailing lists > Public > www-style@w3.org > November 2001

Re: Opacity 0-1: Bad Idea?

From: Dmitry Beransky <dberansky@ucsd.edu>
Date: Sat, 10 Nov 2001 19:55:30 -0800 (PST)
To: www-style@w3.org
Message-ID: <Pine.GSO.4.21.0111101948530.6632-100000@biomail>
Actually, I can see why Kevin might have thought so.  The spec says:

   Any values outside the range 0.0 (fully transparent) to 1.0 
   (fully opaque) will be clipped to this range.

using '0.0' and '1.0' instead of '0' and '1'. Strictly speaking, this
implies that the precision is only to the first decimal position.

Regards
Dmitry

On Sat, 10 Nov 2001, Boris Zbarsky wrote:

> > Also, if you can only use 0 .1 .2 .3 .4 .... to- 1   and not things like =
> > .13  for 13% then I believe this method is gonna be rather limiting in =
> > the future.
> 
> You can do 0.13
> 
> Or 0.1354 if you so wish (assuming you can tell the difference between
> 0.13 and that).
> 
> It's just a floating-point value.
> 
> Boris
Received on Saturday, 10 November 2001 22:55:33 GMT

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