W3C home > Mailing lists > Public > www-style@w3.org > April 2013

Re: [css-syntax] Scientific notation: not on dimension and percentage?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 8 Apr 2013 09:32:14 -0700
Message-ID: <CAAWBYDB9re+-8Lfa0rQpqGyfktupKRMyiTm4RcXdAbuGB4gFiw@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: "www-style@w3.org" <www-style@w3.org>
On Sun, Apr 7, 2013 at 2:50 AM, Simon Sapin <simon.sapin@exyr.org> wrote:
> Hi,
>
> Syntax 3 adds scientific notation on number tokens. IIRC this is for
> compatibility with SVG, but it was mentioned on this list that SVG also
> allow scientific notation on percentages and dimension tokens. Should CSS do
> that too?
>
> By the way, I just fixed the railroad diagrams which were inconsistent with
> the normative text:
>
> https://dvcs.w3.org/hg/csswg/rev/b7a6a835b24f
> http://dev.w3.org/csswg/css-syntax/#token-diagrams
>
> But we might want to reverse that and fix the normative text instead.

Yes, we need to match SVG here and make scinot valid for percentages
and units as well.

~TJ
Received on Monday, 8 April 2013 16:33:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 8 April 2013 16:33:06 UTC