Fix large integrals in IE 8

IE 8 clips the \int sign when it is `display: inline-block`. This fixes that.

Test plan:
 - Make sure no huxley tests changed

Auditors: alpert
This commit is contained in:
Emily Eisenberg 2014-09-12 16:27:48 -07:00
parent ad056abbaf
commit 2920348bdd

View File

@ -411,6 +411,10 @@ var groupTypes = {
}
if (hasLimits) {
// IE 8 clips \int if it is in a display: inline-block. We wrap it
// in a new span so it is an inline, and works.
var base = makeSpan([], [base]);
if (supGroup) {
var sup = buildGroup(supGroup,
options.withStyle(options.style.sup()));