Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#8718 closed Bug (invalid)

Don't use $.createStyleSheet on IE8 or 9

Reported by: jjo Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

CKEDITOR 3.6.2 We have a debug version of our site and a production version. Debug has all the CSS files split apart; in production they are combined and minimized. We also can open CKEDITOR on two pages, here A and B. Page A is much larger and loads more stylesheets than page B.

Our debug site, on page A, produces this error in IE 9 when attempting to create a CKEDITOR instance: SCRIPT14: Not enough storage is available to complete this operation.

document.js, line 40 character 5

This does not happen on our production site, or on the debug site for page B.

On the debug site, we are loading all of our stylesheets using <link> elements, a method that works without triggering this error on IE 8 or 9.

Could document.js be changed so that the createStyleSheet method is not used, or the exception is caught and an element created otherwise?

I'm sorry this is not an easily reproducible test case. I will work on that, but I'm curious if this possibility could be examined.

Change History (2)

comment:1 Changed 12 years ago by jjo

Resolution: invalid
Status: newclosed

I apologize for the waste of time. IE can't process more than 31 stylesheets regardless, which is the limit we were hitting; it wasn't the fault of CKEDITOR.

comment:2 Changed 11 years ago by Freddie Bingham

This issue still happens in CKEditor 4.

You should consider using the following workaround for IE:

http://msdn.microsoft.com/en-us/library/ie/ms531194%28v=vs.85%29.aspx

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy