Merge branch 'issue324' into v2.1-latest
This commit is contained in:
commit
bf490b00de
File diff suppressed because one or more lines are too long
|
@ -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 () {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user