-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
SVG output: replace black with currentColor #1002
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
Comments
dpvc
added a commit
to dpvc/MathJax
that referenced
this issue
Jan 11, 2015
Makes sense. I wasn't aware of this setting when the SVG output was written (it was my first use of SVG). I have made the change in the |
=> Merged |
Yay. Awesome. Will come up with a test. |
pkra
added a commit
to mathjax/MathJax-test
that referenced
this issue
Jan 20, 2015
dpvc
added a commit
to mathjax/MathJax-test
that referenced
this issue
Jan 20, 2015
mathjax/MathJax#1002 -- test SVG output inheriting currentColor
==> In Testsuite MathMLToDisplay/General/Colors/issue1002.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could the SVG output set stroke and fill to
currentColor
? That would allow the SVG output to inherit text color.I was experimenting with the SVG output and came up with http://codepen.io/pkra/pen/emgeyJ. Here are some cross-platform screenshots.
It seems to be a one-liner at https://github.com/mathjax/MathJax/blob/master/unpacked/jax/output/SVG/jax.js#L2000 ?
What do you think, @dpvc?
The text was updated successfully, but these errors were encountered: