Skip to content

Use currentColor rather than black for menclose with no math color. #1573 #1574

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

Merged
merged 2 commits into from
Aug 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unpacked/jax/output/HTML-CSS/autoload/menclose.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
HTMLCSS.addBox(stack,frame); stack.insertBefore(frame,base); // move base to above background
var T = 0, B = 0, R = 0, L = 0, dx = 0, dy = 0; var svg, vml;
var w, h, r;
if (!values.mathcolor) {values.mathcolor = "black"} else {span.style.color = values.mathcolor}
if (!values.mathcolor) {values.mathcolor = "currentColor"} else {span.style.color = values.mathcolor}

// perform some reduction e.g. eliminate duplicate notations.
var nl = MathJax.Hub.SplitList(values.notation), notation = {};
Expand Down
1 change: 0 additions & 1 deletion unpacked/jax/output/SVG/autoload/menclose.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
t = Math.max(1/SVG.em,t); // see issue #414
var H = base.h+p+t, D = base.d+p+t, W = base.w+2*(p+t);
var dx = 0, w, h, i, m, borders = [false,false,false,false];
if (!values.mathcolor) {values.mathcolor = "black"}

// perform some reduction e.g. eliminate duplicate notations.
var nl = MathJax.Hub.SplitList(values.notation), notation = {};
Expand Down