Remove when msiePlaceBoxBug is in effect
This commit is contained in:
parent
085c80054c
commit
0b4ee45777
|
@ -1202,6 +1202,7 @@
|
||||||
},
|
},
|
||||||
alignBox: function (span,align,y) {
|
alignBox: function (span,align,y) {
|
||||||
this.placeBox(span,0,y); // set y position (and left aligned)
|
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 bbox = span.bbox; if (bbox.isMultiline) return;
|
||||||
var isRelative = bbox.width != null && !bbox.isFixed;
|
var isRelative = bbox.width != null && !bbox.isFixed;
|
||||||
var r = 0, c = -bbox.w/2, l = "50%";
|
var r = 0, c = -bbox.w/2, l = "50%";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user