- From: Philippe Verdy via GitHub <sysbot+gh@w3.org>
- Date: Fri, 21 Jun 2024 09:28:25 +0000
- To: public-svg-issues@w3.org
verdy-p has just created a new issue for https://github.com/w3c/svgwg: == incorrect syntax for svg_path in SVG3 draft == Please: * link to the spec section you're talking about, or at least the spec * skim (at least) the [guidelines for submitting issues](https://github.com/w3c/svgwg/wiki/Guidelines-on-using-GitHub-issues) The specification says: `svg_path::= wsp* moveto? (moveto drawto_command*)?` but this is still not correct: * the initial optional `moveto?` is unnecessary, it is implied by the rest. * this limits the number of `moveto` to just 1 or 2. * there's missing whitespace between moveto and drawto_command. * there are missing optional whitespace at end. This should be: `svg_path::= wsp* (moveto wsp* drawto_command*)* wsp*` Note also that various SVG renderers also accept siltently any trailing comma at end of coordinates or coordinate_pairs, just like if they were whitespace, and in fact all commas are treated by them exactrly like whitespace everywhere. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/946 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 21 June 2024 09:28:26 UTC