You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The plugin removeViewBox doesn't seem to remove the viewbox. I've tried a few tests.
To Reproduce
1 - Prepare an svg with viewbox defined.
2 - Run svgo with the plugin removeViewBox enabled
3 - Observe viewbox still exists in the svg output
Expected behavior
Viewbox should be removed if using this plugin.
Desktop (please complete the following information):
SVGO Version 2.0.3
NodeJs Version 14.16
OS: Ubuntu 20.10
Additional context
FYI, viewbox is pretty important, and most people probably never want to remove it. However, this plugin, if it should continue to exist, should at least do what it describes.
There is a related discussion about viewbox here: #1461
The text was updated successfully, but these errors were encountered:
Describe the bug
The plugin
removeViewBox
doesn't seem to remove the viewbox. I've tried a few tests.To Reproduce
1 - Prepare an svg with viewbox defined.
2 - Run svgo with the plugin
removeViewBox
enabled3 - Observe viewbox still exists in the svg output
Expected behavior
Viewbox should be removed if using this plugin.
Desktop (please complete the following information):
Additional context
FYI, viewbox is pretty important, and most people probably never want to remove it. However, this plugin, if it should continue to exist, should at least do what it describes.
There is a related discussion about viewbox here: #1461
The text was updated successfully, but these errors were encountered: