Closed fdwr closed 2 years ago
Per https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop and https://svgwg.org/svg2-draft/pservers.html#GradientStopAttributes, set initial/default value = 0 when offset is absent for gradients, as some tools evidently omit the offset attribute when 0 for minimization.
offset
For issue https://github.com/sammycage/lunasvg/issues/85.
<3 Nice job
Per https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop and https://svgwg.org/svg2-draft/pservers.html#GradientStopAttributes, set initial/default value = 0 when
offset
is absent for gradients, as some tools evidently omit theoffset
attribute when 0 for minimization.For issue https://github.com/sammycage/lunasvg/issues/85.