W3C home > Mailing lists > Public > www-svg@w3.org > May 2012

Re: using CSS syntax for presentation attributes

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 23 May 2012 16:37:05 -0700
Message-ID: <CAAWBYDDge1yphtPzgqgxwNEDH8=MB4mphiXW+70DMSFz1Lma7A@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: www-svg@w3.org
On Wed, May 23, 2012 at 4:30 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> Hi David,
>
> My question was more about whether we should use CSS syntax exactly (apart
> from the required SVG differences -- scientific notation, unitless lengths,
> spaces in transform I think?), which would allow white space, CSS comments
> /* like this */, CSS escapes like th\000069s, and so on.  These things are
> current disallowed by the spec, but some implementations allow them (because
> they, rightfully, want to reuse their CSS parser).

And note, in particular, that my CSS Syntax spec already has flags for
several of the SVG quirks, such as unitless lengths, sci notation, and
transform allowing whitespace between the function name and the
parens.

~TJ
Received on Wednesday, 23 May 2012 23:37:56 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:51 GMT