Re: [css-style-attr] SVG WG comments on CSS Styling Attributes Level 1

Chris Lilley wrote:
> On Tuesday, August 24, 2010, 9:27:57 AM, Tab wrote:
>
> TAJ> On Mon, Aug 23, 2010 at 11:41 PM, Chris Lilley <chris@w3.org> wrote:
>>> I have been asked by the SVG WG to ask the CSS WG, once again, to allow
>>> scientific notation for those properties which allow it. In SVG, currently
>>> those properties allow scientific notation in presentation attributes but
>>> dissallow it in style sheets (style attributes, style elements, external
>>> style sheets). This disparity causes user confusion.
>
> TAJ> Sigh.  We should allow it.  It's simple, it's useful, and it's intuitive.
>
> And already implemented in Firefox, although currently with a "mode bit" so
> that it only applies to SVG.
>
>> Mozilla's CSS parser has a special mode for all styles loaded from SVG,
>> including inline styles on SVG-namespace elements.  In that mode the
>> above regular expression becomes
>>
>> num             ([0-9]+|[0-9]*"."[0-9]+)(e[+-]?[0-9]+)?
>>
>> (as always, the "e" is case-insensitive).  Numbers with this suffix are
>> interpreted as scientific notation.  A % or {ident} suffix may follow
>> the exponent (which converts the token to a PERCENTAGE or DIMENSION
>> token)
>
> http://lists.w3.org/Archives/Public/www-style/2010Feb/0042.html

You seem to have missed Zack's response to that message:
   http://lists.w3.org/Archives/Public/www-style/2010Feb/0049.html

~fantasai

Received on Tuesday, 24 August 2010 12:49:53 UTC