www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 20f42d692d76e4def84ac16c2215ebab7822f479
parent 3737c8d84bcd4647449a267f490cc883cba4372f
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 14 Dec 2015 10:10:25 -0500

Merge branch 'issue1332' into develop.  Issue #1332.

Diffstat:
Munpacked/jax/output/HTML-CSS/jax.js | 8++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js @@ -1787,6 +1787,7 @@ bbox = stretchy[i].HTMLspanElement().bbox; if (stretchy[i].forceStretch || bbox.h !== h || bbox.d !== d) {stretchy[i].HTMLstretchV(span,h,d); stretched = true} + else if (stretchy[i].needsBBox) stretched = true; } if (stretched) {this.HTMLcomputeBBox(span,true)} if (this.HTMLlineBreaks(span)) {span = this.HTMLmultiline(span)} @@ -1806,8 +1807,11 @@ var BBOX = span.bbox = {exactW: true}, stretchy = []; while (i < m) { var core = this.data[i]; if (!core) continue; - if (!full && core.HTMLcanStretch("Vertical")) - {stretchy.push(core); core = (core.CoreMO()||core)} + if (!full && core.HTMLcanStretch("Vertical")) { + stretchy.push(core); + core = (core.CoreMO()||core); + stretchy[stretchy.length-1].needsBBox = (core !== this.data[i]); + } this.HTMLcombineBBoxes(core,BBOX); i++; } this.HTMLcleanBBox(BBOX);