Remove   when msiePlaceBoxBug is in effect

This commit is contained in:
Davide P. Cervone 2014-05-05 09:14:49 -04:00
parent 085c80054c
commit 0b4ee45777

View File

@ -1202,6 +1202,7 @@
},
alignBox: function (span,align,y) {
this.placeBox(span,0,y); // set y position (and left aligned)
if (this.msiePlaceBoxBug) {span.removeChild(span.lastChild.previousSibling)}
var bbox = span.bbox; if (bbox.isMultiline) return;
var isRelative = bbox.width != null && !bbox.isFixed;
var r = 0, c = -bbox.w/2, l = "50%";