Page MenuHomePhabricator

librsvg handles errors in path data incorrectly
Open, MediumPublic


There's a discrepancy between how common browsers and librsvg render SVG files, which have path data with missing command parameters.

The path element implementation notes specify that "the SVG user agent shall render a ‘path’ element up to (but not including) the path command containing the first error in the path data specification".
Librsvg instead defaults missing parameters to zero and continues rendering.