diff --git a/unpacked/jax/output/NativeMML/jax.js b/unpacked/jax/output/NativeMML/jax.js index 369bc7a30..282fb9259 100644 --- a/unpacked/jax/output/NativeMML/jax.js +++ b/unpacked/jax/output/NativeMML/jax.js @@ -426,6 +426,13 @@ var mW = math.offsetWidth || math.scrollWidth, mH = math.offsetHeight || math.scrollHeight; var zW = span.offsetWidth, zH = span.offsetHeight; + if (nMML.widthBug) { + // + // FF doesn't get width of right, so get it from + // + var W = span.firstChild.firstChild.scrollWidth; + if (W > zW) {zW = W; span.style.width = zW + "px"} + } if (this.msieIE8HeightBug) {span.style.position = ""} return {Y:-EVENT.getBBox(span.parentNode).h, mW:mW, mH:mH, zW:zW, zH:zH} },