Bug #23647
closedhtlmArea RTE: Stylesheet access error in Google Chrome 7
0%
Description
Using Google Chrome 7.0.517.24 dev.
When the RTE first tries to access the stylesheets, Google Chrome reports "TypeError: Cannot read property 'cssRules' of undefined".
Subsequent attempts give the same error again.
Apparently, the stylesheets object gets broken by the first attempt.
The error appears only in BE, not in FE, perhaps due to different timing.
(issue imported from #M15858)
Files
Updated by Stanislas Rolland over 13 years ago
Check for existence of stylesheets array first.
Updated by Stanislas Rolland over 13 years ago
Committed to SVN TYPO3core trunk (revision 8931).
Updated by Stanislas Rolland over 13 years ago
Well, the problem is worst than I thought. The stylesheets array is never populated.
Updated by Stanislas Rolland over 13 years ago
Using javascript:void(0); as the source of the iframe gets Chrome to load the stylesheets.
Attaching follow-up patch.
Updated by Stanislas Rolland over 13 years ago
Follow-up patch committed to trunk (revision 8948).
Updated by Stanislas Rolland over 13 years ago
Patch committed to branch TYPO3_4-4 (revision 8997) and branch TYPO3_4-3 (revision 8998).
Updated by Stanislas Rolland over 13 years ago
Follow-up patch was committed to branch TYPO3_4-4 (revision 9000).
Updated by Stanislas Rolland over 13 years ago
Follow-up patch committed to branch TYPO3_4-3 (revision 9002).
This makes the RTE from this branch load correctly in Google Chrome 7.0.544.0 dev.
Updated by Stanislas Rolland almost 13 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
- Target version deleted (
0) - TYPO3 Version set to 4.4