Incorrect rendering of radial gradients
The report is coming from Andrey Bayrak of SVG Cleaner team.
According to SVG standard, default values for cx, cy and r elements for radialGradients is 50%. To quote it: “If the attribute is not specified, the effect is as if a value of '50%' were specified.”
That means if cx and cy are 1/2 of viewBox's width and height, they can be safely wiped during optimization. E.g. Firefox will render such an optimized SVG file just fine, but Inkscape won't.
Andrey illustrates that with two attached files: database-bug.svg is the optimized version of database-normal.svg and has the cx="64" attribute removed from lines 112 and 114.
|tags:||added: gradient svg|
|Changed in inkscape:|
|status:||Confirmed → Triaged|
|importance:||Undecided → High|