Issue Bug Closed

#32340RTE HTMLArea won't load in IE if included stylesheet is empty

Markus no-lastname-given 12/06/11, 17:12 updated 12/16/11, 21:35

Description

Environment:
TYPO3 4.5.8
htmlArea RTE 2.1.7
IE 9.0

Page TS Config:
RTE.default.contentCSS = EXT:my_rte_styles/rte.css

If the file defined as contentCSS is empty, IE9 will not finish the loading of the RTE.
In debug mode, the following log message will be repeated forever:
[HTMLArea.Iframe::getStyleSheets]: Stylesheets not yet loaded (Empty rules and imports arrays of styleSheets2). Retrying…

Although it doesn’t really make sense to include an empty stylesheet, this shouldn’t stop the RTE from loading.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.