Make HTML-CSS measure the final math element so that the right amount of place is left for it (particularly a problem in Safari).

This commit is contained in:
Davide P. Cervone 2014-12-30 18:21:05 -05:00
parent 034041e6d3
commit 8a1db4b859

View File

@ -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) ||