W3C home > Mailing lists > Public > www-svg@w3.org > January 2011

Re: extra commas in path data

From: Dirk Schulze <vbs85@gmx.de>
Date: Sun, 30 Jan 2011 09:06:13 +0100
Cc: Boris Zbarsky <bzbarsky@MIT.EDU>, ddailey <ddailey@zoominternet.net>, www-svg@w3.org, Robert Longson <longsonr@gmail.com>
Message-Id: <3E93472D-B1E8-4C31-B61B-D383273F8C90@gmx.de>
To: Dirk Schulze <vbs85@gmx.de>

Am 30.01.2011 um 08:52 schrieb Dirk Schulze:

> svg-path:
>     wsp* moveto-drawto-command-groups? wsp-opt-comma*
> moveto-drawto-command-groups:
>     moveto-drawto-command-group
>     | moveto-drawto-command-group wsp-opt-comma* moveto-drawto-command-groups
> moveto-drawto-command-group:
>     moveto wsp-opt-comma* drawto-commands?
> drawto-commands:
>     drawto-command
>     | drawto-command wsp-opt-comma* drawto-commands
> 
> ...
> 
> wsp-opt-comma:
>     wsp* comma? wsp*

For clarification: The WebKit-behavior looks like:

svg-path:
    wsp* moveto-drawto-command-groups? comma-wsp
moveto-drawto-command-groups:
    moveto-drawto-command-group
    | moveto-drawto-command-group comma-wsp moveto-drawto-command-groups
moveto-drawto-command-group:
    moveto comma-wsp drawto-commands?
drawto-commands:
    drawto-command
    | drawto-command comma-wsp drawto-commands

Means, we just support one comma between two drawto commands (which makes sense as well in my opinion).

Cheers,
Dirk
Received on Sunday, 30 January 2011 08:06:53 GMT

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