[svgwg] SVG 2.0 path number production only allows integers (#737)

dd8 has just created a new issue for https://github.com/w3c/svgwg:

== SVG 2.0 path number production only allows integers ==
https://www.w3.org/TR/SVG2/paths.html#PathDataBNF

In SVG 1.1 number has the following production:

```
number:
    sign? integer-constant
    | sign? floating-point-constant
```

In SVG 2.0 the number production changed to:

```
number ::= ([0-9])+
```

This doesn't match some of the examples in the following paragraph:

>Similarly, for the string **"M 0.6.5"**, the first coordinate of the "moveto" consumes the characters "0.6" and stops upon encountering the second decimal point because the production of a "coordinate" only allows one decimal point. The result is that the first coordinate will be **"0.6"** and the second coordinate will be **".5"**.


Please view or discuss this issue at https://github.com/w3c/svgwg/issues/737 using your GitHub account

Received on Thursday, 19 September 2019 20:56:45 UTC