Skip to content
New issue

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

Don't let height of final SVG be 0 (mathjax/MathJax#2605) #577

Merged
merged 1 commit into from
Feb 9, 2021
Merged

Conversation

dpvc
Copy link
Member

@dpvc dpvc commented Jan 19, 2021

SVG elements are not displayed if their height (or width) is 0. We already had a test for 0 width, but not for zero height. So \smash{X} would no display properly. This PR resolves that issue.

@dpvc dpvc requested a review from zorkow January 19, 2021 16:58
@dpvc dpvc added this to the 3.1.3 milestone Jan 31, 2021
Copy link
Member

@zorkow zorkow left a comment

Choose a reason for hiding this comment

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

lgtm.

@dpvc dpvc merged commit 398110e into develop Feb 9, 2021
@dpvc dpvc deleted the issue2605 branch February 9, 2021 17:28
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