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:
parent
ad056abbaf
commit
2920348bdd
|
@ -411,6 +411,10 @@ var groupTypes = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasLimits) {
|
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) {
|
if (supGroup) {
|
||||||
var sup = buildGroup(supGroup,
|
var sup = buildGroup(supGroup,
|
||||||
options.withStyle(options.style.sup()));
|
options.withStyle(options.style.sup()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user