-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use mpadded for \raisebox MathML #876
Conversation
const dy = group.value.dy.value.number + group.value.dy.value.unit; | ||
node.setAttribute("voffset", dy); | ||
return node; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a snapshot test for this?
@ronkok see https://github.com/Khan/KaTeX/blob/master/test/mathml-spec.js for examples of snapshot tests. After you add a test mathml-spec.js that uses |
It turns out that the answer to that question is no, I can't. My attempt to |
I can send you a PR for the snapshot test. Can you post the console output of the failure from |
Output as requested:
|
@ronkok thanks. It looks like |
I think that's right. Go ahead and search for a |
One small step forward. |
@ronkok thanks for PR and for working through difficulties generating the snapshot. |
No description provided.