Project

General

Profile

Actions

Bug #23647

closed

htlmArea RTE: Stylesheet access error in Google Chrome 7

Added by Stanislas Rolland over 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2010-09-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23498: RTE won't load in Chrome7ClosedStanislas Rolland2010-09-03

Actions
Actions #1

Updated by Stanislas Rolland over 13 years ago

Check for existence of stylesheets array first.

Actions #2

Updated by Stanislas Rolland over 13 years ago

Committed to SVN TYPO3core trunk (revision 8931).

Actions #3

Updated by Stanislas Rolland over 13 years ago

Well, the problem is worst than I thought. The stylesheets array is never populated.

Actions #4

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.

Actions #5

Updated by Stanislas Rolland over 13 years ago

Follow-up patch committed to trunk (revision 8948).

Actions #6

Updated by Stanislas Rolland over 13 years ago

Patch committed to branch TYPO3_4-4 (revision 8997) and branch TYPO3_4-3 (revision 8998).

Actions #7

Updated by Stanislas Rolland over 13 years ago

Follow-up patch was committed to branch TYPO3_4-4 (revision 9000).

Actions #8

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.

Actions #9

Updated by Stanislas Rolland almost 13 years ago

  • Category set to RTE (rtehtmlarea + ckeditor)
  • Target version deleted (0)
  • TYPO3 Version set to 4.4
Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF