Ticket #8718 (closed Bug: invalid)

Opened 3 months ago

Last modified 3 months ago

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

comment:1 Changed 3 months ago by jjo

  • Status changed from new to closed
  • Resolution set to invalid

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.

Note: See TracTickets for help on using tickets.
© 2003 – 2011 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy