From 8a1db4b859d4708e5cd120ccfe5c326a74ac4a38 Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Tue, 30 Dec 2014 18:21:05 -0500 Subject: [PATCH] Make HTML-CSS measure the final math element so that the right amount of place is left for it (particularly a problem in Safari). --- unpacked/jax/output/HTML-CSS/jax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js index e02be80b4..f7634e492 100644 --- a/unpacked/jax/output/HTML-CSS/jax.js +++ b/unpacked/jax/output/HTML-CSS/jax.js @@ -879,7 +879,7 @@ return HD; }, getW: function (span) { - if (span.bbox && this.config.noReflows) {return span.bbox.w} + if (span.bbox && this.config.noReflows && span.bbox.exactW !== false) {return span.bbox.w} var W, H, w = (span.bbox||{}).w, start = span; if (span.bbox && span.bbox.exactW) {return w} if ((span.bbox && w >= 0 && !this.initialSkipBug && !this.msieItalicWidthBug) ||