svg / svgo

⚙️ Node.js tool for optimizing SVG files
https://svgo.dev/
MIT License
20.82k stars 1.38k forks source link

removeUnknownsAndDefaults removes known attrs from filter element #1124

Open ColCh opened 5 years ago

ColCh commented 5 years ago

it's possible to define x, y among with other attributes on filter element: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter#Specific_attributes

SVGO removes x and y attrs with removeUnknownsAndDefaults option

johnkenny54 commented 3 weeks ago

This seems to work fine in version 3.3.2.