Skip to content

Commit 065acfd

Browse files
committed
Work around IE bug when direction:rtl is specified outside the math
1 parent 2953e01 commit 065acfd

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

config/Accessible-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/MML_HTMLorMML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/TeX-AMS-MML_HTMLorMML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/TeX-AMS_HTML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jax/output/HTML-CSS/jax.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@
505505
getMSIEmarginScale: function (span) {
506506
span.appendChild(this.marginCheck);
507507
var W = this.marginCheck.offsetWidth, w = this.marginMove.offsetWidth;
508-
var scale = w/(2*w - W);
508+
var scale = (2*w - W ? w/(2*w - W) : 1);
509509
span.removeChild(this.marginCheck);
510510
return scale;
511511
},

0 commit comments

Comments
 (0)