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

Re: [css3-values] Interchangeable numbers and percentages

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 19 Oct 2011 10:14:56 -0400
Message-ID: <4E9EDB60.7060505@mit.edu>
To: Rudolph Gottesheim <r.gottesheim@loot.at>
CC: www-style@w3.org
On 10/19/11 5:54 AM, Rudolph Gottesheim wrote:
> Why aren't numbers and percentages completely interchangeable? The %
> sign is just a constant with the value of 1/100 after all. So what 30%
> really means is the following equasion: 30 x 0.01 = 0.3. I think we
> should be able to use numbers whereever we can use percentages and vice
> versa. For example:
>
> hsl(90, .3, .9)
> opacity: 80%

   width: 100

?

-Boris
Received on Wednesday, 19 October 2011 14:15:32 GMT

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