W3C home > Mailing lists > Public > www-svg@w3.org > January 2013

Re: Promoting more SVG attributes into properties

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 24 Jan 2013 17:01:54 -0800
Message-ID: <CAAWBYDA-5nT8CXyuBnfwCPYKLd0gFmeN5OygYLg+8ahcgBiAUQ@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: www-svg <www-svg@w3.org>
On Thu, Jan 24, 2013 at 4:50 PM, Cameron McCormack <cam@mcc.id.au> wrote:
> Tab, In your mail to www-style you mention points and then defining it to
> take [ <length> | <percentage> ]#.  points, as well as x/y/dx/dy on text
> content elements, currently use comma-wsp separation (white space or comma
> with optional white space).  Is it deliberate that the property would
> require commas, whereas the presentation attribute would not?  I haven't
> thought about it hard enough to have an opinion on whether that is the right
> way to go.

Ugh, I forgot about that.  I guess we could define the grammar as
"[<length> | <percentage>] [ ,? [<length> | <percentage>] ]*".  I'd
prefer if we were indeed able to switch over to CSS's conventions, but
if not, the grammar is doable.

~TJ
Received on Friday, 25 January 2013 01:02:42 GMT

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