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:
parent
034041e6d3
commit
8a1db4b859
|
@ -879,7 +879,7 @@
|
||||||
return HD;
|
return HD;
|
||||||
},
|
},
|
||||||
getW: function (span) {
|
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;
|
var W, H, w = (span.bbox||{}).w, start = span;
|
||||||
if (span.bbox && span.bbox.exactW) {return w}
|
if (span.bbox && span.bbox.exactW) {return w}
|
||||||
if ((span.bbox && w >= 0 && !this.initialSkipBug && !this.msieItalicWidthBug) ||
|
if ((span.bbox && w >= 0 && !this.initialSkipBug && !this.msieItalicWidthBug) ||
|
||||||
|
|
Loading…
Reference in New Issue
Block a user