svg / svgo

⚙️ Node.js tool for optimizing SVG files
https://svgo.dev/
MIT License
21.08k stars 1.39k 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 months ago

This seems to work fine in version 3.3.2.