Work around IE bug when direction:rtl is specified outside the math
This commit is contained in:
parent
2953e01b12
commit
065acfd10a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -505,7 +505,7 @@
|
|||
getMSIEmarginScale: function (span) {
|
||||
span.appendChild(this.marginCheck);
|
||||
var W = this.marginCheck.offsetWidth, w = this.marginMove.offsetWidth;
|
||||
var scale = w/(2*w - W);
|
||||
var scale = (2*w - W ? w/(2*w - W) : 1);
|
||||
span.removeChild(this.marginCheck);
|
||||
return scale;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user