From 2920348bdd20aae97b281f38b0fe42faf8f51a4e Mon Sep 17 00:00:00 2001 From: Emily Eisenberg Date: Fri, 12 Sep 2014 16:27:48 -0700 Subject: [PATCH] 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 --- buildTree.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildTree.js b/buildTree.js index c6b376e..7359b2c 100644 --- a/buildTree.js +++ b/buildTree.js @@ -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()));