W3C home > Mailing lists > Public > www-svg@w3.org > November 2010

Re: Allowing path data to start with any segment type

From: Dirk Schulze <vbs85@gmx.de>
Date: Thu, 11 Nov 2010 23:26:14 +0100
Cc: Alex Danilo <alex@abbra.com>, Jonathan Watt <jwatt@jwatt.org>, www-svg <www-svg@w3.org>
Message-Id: <65896E03-3283-4F5C-9440-53F949BE2C0A@gmx.de>
To: robert@ocallahan.org

Am 11.11.2010 um 22:30 schrieb Robert O'Callahan:

> On Fri, Nov 12, 2010 at 9:32 AM, Alex Danilo <alex@abbra.com> wrote:
>        I think this is an extremely bad idea. Akmnost every graphics language
> in the world requires some form of moveto as the first thing when drawing
> polylines, paths etc.
> 
> So there's precedent, but precedent alone isn't a very strong argument here. If people are used to always providing a moveto as the first path component, they can continue to do that with Jonathan's proposal and everything will work.
> 
>        If authors are that silly and don't realize their mistake they need
> to RTFM IMHO.
> 
> A well-designed language minimizes the amount of RTFMing.
> 
> AFAIK the only significant argument against changing this is that it introduces potential interop problems with existing UAs for only a small gain. But the next time we extend path syntax, I think we should definitely start allowing non-movetos as the first component.

I agree, SVG documents with paths that are valid according to the current specification are not affected. And less restriction for users are desirable.

Dirk
Received on Thursday, 11 November 2010 22:26:50 GMT

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