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

Re: <polygon> element attributes...

From: Roger B. Sidje <rbs@boh.org>
Date: Mon, 28 Jun 1999 18:41:42 +1000
Message-ID: <37773546.483D@boh.org>
To: www-svg@w3.org
Date: Mon, 14 Jun 1999 02:21:14 +0200
> From: Jeremy Lea <reg@shale.csir.co.za>
> ...
> Would it be better to use <polyline verts="x,y;x,y;x,y;"/>?  It just
> seems less error prone to me.  You still have to walk the verts string
> twice, to work out how many sets there are, allocate the array then fill
> it.  This would also allow you to strip all white space from the string
> before you parse it without affecting the numerical representations.

You are right here. There was a similar issue in www-style and the 
arguments that the WWW-style WG gave in support of explicit delimiters 
like ,; was that they allow for future extensions (like the use of
expressions x,x+2;x+width2,x+10%)

Received on Monday, 28 June 1999 04:41:52 UTC

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