W3C home > Mailing lists > Public > www-svg@w3.org > June 2003

Re: stroke-dasharray delimiters

From: Chris Lilley <chris@w3.org>
Date: Wed, 11 Jun 2003 21:23:27 +0200
Message-ID: <19279872084.20030611212327@w3.org>
To: www-svg@w3.org, Steve Schafer <steve@fenestra.com>

On Wednesday, June 11, 2003, 4:45:37 PM, Steve wrote:

SS> The description of the stroke-dasharray property (SVG 1.1, Section 11.4)
SS> says (in part):

>><dasharray> contains a list of comma-separated (with optional white
>>space) <length>s that specify the lengths of alternating dashes and

SS> And then a little later:

>>A list of comma-separated <length>'s (with optional white space), each
>>of which can have a unit identifier, including specification of a

SS> I can't see why commas are required here--a parser should be able to
SS> handle a whitespace-delimited list of <length>s without ambiguity, just
SS> as with the tspan element's dx and dy properties, for example.

What you say is true - if the whitespace was changed from optional to
mandatory, then the comma would serve no purpose. However, the
whitespace is optional so the comma does serve a purpose.

 Chris                            mailto:chris@w3.org
Received on Wednesday, 11 June 2003 15:23:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:56 UTC