Fixed
- Fixed invisible SVG elements when ancestor overrides
fillorstroke. TheremoveUnknownsAndDefaultspass now walks the ancestor chain before removing attributes that match SVG spec defaults. Previously,fill="black"was removed even when a parent hadfill="none", causing elements to inherit the wrong value and become invisible. Now matches SVGO's behavior: Check A only removes defaults when no ancestor has the property; Check B removes useless overrides (child value matches inherited value). Elements withidare skipped (may be CSS/JS targets).
Full Changelog: v0.3.7...v0.3.8