We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the <symbol> itself does not have an ID, removeUselessDefs removes <symbol> elements which contains children with IDs.
<symbol>
To Reproduce Optimize the following with removeUselessDefs enabled:
<svg xmlns="http://www.w3.org/2000/svg"> <rect fill="url(#a)" width="64" height="64"/> <symbol> <linearGradient id="a"> <stop offset="5%" stop-color="gold" /> </linearGradient> </symbol> </svg>
Expected behavior File is unchanged because linearGradient is referenced.
Additional context This bug is part of the cause of test-regression failures on media-flash.svg.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
If the
<symbol>
itself does not have an ID, removeUselessDefs removes<symbol>
elements which contains children with IDs.To Reproduce
Optimize the following with removeUselessDefs enabled:
Expected behavior
File is unchanged because linearGradient is referenced.
Additional context
This bug is part of the cause of test-regression failures on media-flash.svg.
The text was updated successfully, but these errors were encountered: