Fix bounding box problem in Firefox with stretchy delimiters (and remove alignment hack that doesn't seem to be needed any longer). resolves issue #729.
This commit is contained in:
parent
a314139f59
commit
8eb029478e
|
@ -1392,7 +1392,10 @@
|
||||||
span.style.top = this.Em(-h);
|
span.style.top = this.Em(-h);
|
||||||
} else {
|
} else {
|
||||||
span.style.verticalAlign = this.Em(h);
|
span.style.verticalAlign = this.Em(h);
|
||||||
if (HTMLCSS.ffVerticalAlignBug) {HTMLCSS.createRule(span.parentNode,span.bbox.h,0,0)}
|
if (HTMLCSS.ffVerticalAlignBug) {
|
||||||
|
HTMLCSS.createRule(span.parentNode,span.bbox.h,0,0);
|
||||||
|
delete span.parentNode.bbox;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2934,7 +2937,7 @@
|
||||||
(HUB.config.root+"/").substr(0,root.length) === root) {webFonts = "otf"}
|
(HUB.config.root+"/").substr(0,root.length) === root) {webFonts = "otf"}
|
||||||
}
|
}
|
||||||
HTMLCSS.Augment({
|
HTMLCSS.Augment({
|
||||||
ffVerticalAlignBug: true,
|
ffVerticalAlignBug: !browser.versionAtLeast("20.0"), // not sure when this bug was fixed
|
||||||
AccentBug: true,
|
AccentBug: true,
|
||||||
allowWebFonts: webFonts
|
allowWebFonts: webFonts
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user