Merge branch 'issue324' into v2.1-latest

This commit is contained in:
Davide P. Cervone 2012-09-30 10:27:45 -04:00
commit bf490b00de
2 changed files with 14 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -279,10 +279,14 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
MathJax.Hub.Browser.Select({
MSIE: function (browser) {
//
// IE8 and below doesn't have SVG, so use VML
//
if ((document.documentMode||0) < 9) {
MML.menclose.Augment({HTMLpx: function (n,d) {return (n*HTMLCSS.em+(d||0))+"px"}});
HTMLCSS.useVML = true;
if (!document.namespaces[vmlns]) {
if (document.documentMode && document.documentMode >= 8) {
if (document.documentMode && document.documentMode === 8) {
document.namespaces.add(vmlns,VMLNS,"#default#VML");
} else {
document.namespaces.add(vmlns,VMLNS);
@ -290,6 +294,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
}
}
}
}
});