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%)

RBS
Received on Monday, 28 June 1999 04:41:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 23:52:45 GMT