Comment 3 for bug 714731

Revision history for this message
Jan Thor (jan-janthor) wrote :

Thanks, I'm aware of the existence of diffs, but don't use them regularly. I will try to make one within the next days.

Since reducePrecision() happens after removeDefaultAttributeValues() (although I guess that could be swapped without ill effects), I guess I can't assume that floats in attribute values are always in canonical form? But anyway, a value of four will, in most cases, be either "4" or "4.0" (and not "4.00000" or "0.4e1").

I'm a bit unsure what attributes-with-defaults should be included; the most thorough approach, I guess, would be to include everything in SVG1.2 and CSS3, but then, there isn't much point in checking each and every element for stuff none of the current vector editors uses just to slow scour down. Since I'm exclusively using Inkscape, I have no idea what Adobe or Corel do (perhaps they are less zealous to include defaults?).