You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gets mangled into M11.180339887498949,0C11.180339887498949,6.174731217790598,6.174731217790599,11.180339887498949,6.845983728302534e-16,11.180339887498949M0,-11.180339887498949L11.180339887498949,0M-11.180339887498949,0L0,11.180339887498949:
The reason seems to be that, while M1 0A1 1 0 00-1 0 1 1 0 001 0 is a perfectly valid SVG (at lest, works in all browsers and editors that I've tried), the SVG parser cannot handle 00-1 and 001 parts.
The standard is terse but unambiguous here:
Superfluous white space and separators (such as commas) may be eliminated
00 above are flags, so separating them from each other and from the next number is indeed superfluous.
Another example: M.5-.8.5.8 gets parsed as M 0.5 -0.8. The implicit line part gets chopped of.
The text was updated successfully, but these errors were encountered:
Extracting #3377 (comment) into a separate issue.
A simple path
M1 0A1 1 0 00-1 0 1 1 0 001 0M0-1 1 0M-1 0 0 1
:gets mangled into
M11.180339887498949,0C11.180339887498949,6.174731217790598,6.174731217790599,11.180339887498949,6.845983728302534e-16,11.180339887498949M0,-11.180339887498949L11.180339887498949,0M-11.180339887498949,0L0,11.180339887498949
:The reason seems to be that, while
M1 0A1 1 0 00-1 0 1 1 0 001 0
is a perfectly valid SVG (at lest, works in all browsers and editors that I've tried), the SVG parser cannot handle00-1
and001
parts.The standard is terse but unambiguous here:
00
above are flags, so separating them from each other and from the next number is indeed superfluous.Another example: M.5-.8.5.8 gets parsed as M 0.5 -0.8. The implicit line part gets chopped of.
The text was updated successfully, but these errors were encountered: