W3C home > Mailing lists > Public > www-style@w3.org > September 2008

Re: Exponents in <number>

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 5 Sep 2008 15:49:52 -0500
Message-ID: <dd0fbad0809051349y61a21883sbe3b67f89987a051@mail.gmail.com>
To: "Dean Jackson" <dino@apple.com>
Cc: www-style@w3.org
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 GMT

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