You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Load this file in internet explorer. Javascript error will occur on the line containing the code 'i.styleSheet.cssText=h', because i.styleSheet's disabled property is set to true once it is inserted into the document.
The text was updated successfully, but these errors were encountered:
IE has a hard limit of 31 stylesheets on the page (see this support posting for more), and since MathJax inserts some new style sheets, if your page starts out with (or loads) many style sheets, this limit can be exceeded. In your case, with only 1 style sheet left unused, you are pretty much guaranteed to cause MathJax to fail.
I consider this a bug in IE rather than MathJax, but it's also true that MathJax could check to see if the limits is going to be exceeded and give a message and fail more gracefully. Currently, MathJax doesn't try too hard to conserve style sheets, so there is also some optimization that could be done there to help reduce the number of stylesheets that MathJax uses. That is something that we should look into doing.
The limitation to 31 sheets is the real source of the problem, however.
Platform: Win7 IE8
Create a sample file in the test directory, containing 30 (or more) style tags, like the following:
Load this file in internet explorer. Javascript error will occur on the line containing the code 'i.styleSheet.cssText=h', because i.styleSheet's disabled property is set to true once it is inserted into the document.
The text was updated successfully, but these errors were encountered: