Re: Exponents in <number>

On Fri, Sep 5, 2008 at 3:43 PM, Dean Jackson <dino@apple.com> wrote:

>
> According to CSS 3 Values and Units, numbers can't be of the form 1.0e20.
>
> http://www.w3.org/TR/css3-values/#numbers
>
> "A <number> can either be an <integer>, or it can be zero or more digits
> followed by a dot (.) followed by one or more digits."
>
> Was there a reason for not allowing this?
>
> Would it be possible to change the syntax to allow the format? (I assume
> this would be classified as a significant change)


I'm curious - do you have *any* use-cases for a number that can't be plainly
stated without exponents?

I suspect "there's absolutely no need for it" was the reason for not
allowing it.

~TJ

Received on Friday, 5 September 2008 20:50:27 UTC