Skip to content

Conversation

@johnkenny54
Copy link
Contributor

removeHiddenElems was removing all <path> elements with opacity:0. If the path was referenced by a <textPath>, this caused the text to disappear.

This resolves 10 regression errors:

svgs/oxygen-icons-5.113.0/scalable/apps/digikam.svg     pass
svgs/oxygen-icons-5.113.0/scalable/apps/showfoto.svg    pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/16x16/digikam.svg pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/16x16/showfoto.svg        pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/22x22/digikam.svg pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/22x22/showfoto.svg        pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/32x32/digikam.svg pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/32x32/showfoto.svg        pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/48x48/digikam.svg pass
svgs/oxygen-icons-5.113.0/scalable/apps/small/48x48/showfoto.svg        pass

Copy link
Member

@SethFalco SethFalco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Happy to see tests for both, when path is referenced and not referenced too. 👍🏽

Thanks for spotting the issue and submitting a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants