W3C home > Mailing lists > Public > www-svg@w3.org > February 2015

Re: making comma-wsp optional between points list coordinates

From: Dirk Schulze <dschulze@adobe.com>
Date: Thu, 5 Feb 2015 08:51:54 +0000
To: Cameron McCormack <cam@mcc.id.au>
CC: "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <25857A9C-07E4-48AF-AA3F-A9BE75C54316@adobe.com>

> On Feb 5, 2015, at 7:33 AM, Cameron McCormack <cam@mcc.id.au> wrote:
> 
> Cameron McCormack:
>> The grammar for the points="" attribute on <polygon> and <polyline> has
>> a comma-wsp between each coordinate, which is white space, a comma, or
>> both.  Firefox rejects a points list that has no spaces between
>> coordinates (which is possible when the second number is negative).
>> Chrome, Safari and IE all accept such a points list.
>> 
>> I propose we don’t require the separator.  This would make points lists
>> consistent with path data, where we already don’t require a separator.
> 
> Test: http://mcc.id.au/temp/points.svg

> 
> Green means the separator is not required; red means it is.

I support the proposal.

Greetings,
Dirk

> 
> -- 
> Cameron McCormack ≝ http://mcc.id.au/

> 

Received on Thursday, 5 February 2015 08:52:25 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:39 UTC