Re: [css3-values] Interchangeable numbers and percentages

On 10/19/11 10:14 AM, Boris Zbarsky wrote:
> 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

Or more to the point, "width: 1.0".

-Boris

Received on Wednesday, 19 October 2011 14:30:27 UTC