- From: Boris Dalstein via GitHub <sysbot+gh@w3.org>
- Date: Mon, 18 Nov 2019 19:09:38 +0000
- To: public-svg-issues@w3.org
Actually, with the current draft, a whitespace is never allowed between the last coord of a command the the command character of the next command. So in fact, I think that this:
```
path ::= wsp* moveto? (moveto command*)?
```
should be:
```
path ::= wsp* (moveto (wsp* command)*)? wsp*
```
Here is SVG 1.1 for reference, which I think agrees with me:
```
svg-path:
wsp* moveto-drawto-command-groups? wsp*
moveto-drawto-command-groups:
moveto-drawto-command-group
| moveto-drawto-command-group wsp* moveto-drawto-command-groups
moveto-drawto-command-group:
moveto wsp* drawto-commands?
drawto-commands:
drawto-command
| drawto-command wsp* drawto-commands
```
I'll think about it more and open new issues about this, since it's more than just a stylistic change.
--
GitHub Notification of comment by dalboris
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/751#issuecomment-555163624 using your GitHub account
Received on Monday, 18 November 2019 19:09:39 UTC