Skip to content

Commit 4779c91

Browse files
authored
Merge pull request #1574 from dpvc/issue1573
Use currentColor rather than black for menclose with no math color. #1573
2 parents 199badf + 317f838 commit 4779c91

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

unpacked/jax/output/HTML-CSS/autoload/menclose.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
5555
HTMLCSS.addBox(stack,frame); stack.insertBefore(frame,base); // move base to above background
5656
var T = 0, B = 0, R = 0, L = 0, dx = 0, dy = 0; var svg, vml;
5757
var w, h, r;
58-
if (!values.mathcolor) {values.mathcolor = "black"} else {span.style.color = values.mathcolor}
58+
if (!values.mathcolor) {values.mathcolor = "currentColor"} else {span.style.color = values.mathcolor}
5959

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

unpacked/jax/output/SVG/autoload/menclose.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ MathJax.Hub.Register.StartupHook("SVG Jax Ready",function () {
113113
t = Math.max(1/SVG.em,t); // see issue #414
114114
var H = base.h+p+t, D = base.d+p+t, W = base.w+2*(p+t);
115115
var dx = 0, w, h, i, m, borders = [false,false,false,false];
116-
if (!values.mathcolor) {values.mathcolor = "black"}
117116

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

0 commit comments

Comments
 (0)