Use px rather than em for frames as well. Resolves issue #1095 in Safari.
This commit is contained in:
parent
922eabdf72
commit
b1b6861a6c
|
@ -1159,7 +1159,7 @@
|
|||
if (this.msieFrameSizeBug) {if (w < T) {w = T}; if (h+d < T) {h = T-d}}
|
||||
if (this.msieBorderWidthBug) {T = 0}
|
||||
var H = this.Em(h+d-T), D = this.Em(-d-t), W = this.Em(w-T);
|
||||
var B = this.Em(t)+" "+style;
|
||||
var B = this.Px(t)+" "+style;
|
||||
var frame = this.addElement(span,"span",{
|
||||
style: {border: B, display:"inline-block", overflow:"hidden", width:W, height:H},
|
||||
bbox: {h:h, d:d, w:w, rw:w, lw:0, exactW:true}, noAdjust: true, HH:h+d, isMathJax:true
|
||||
|
|
Loading…
Reference in New Issue
Block a user