[TYPO3-core] FYI: Added feature #7963: htmlArea RTE css parsing: honour classes with element context selectors inside other context selectors (thanks to Mikkel Ricky)

Stanislas Rolland typo3 at sjbr.ca
Thu Dec 18 07:52:35 CET 2008


FYI: The attached SVN patch was committed.

Type:
Feature

Problem:
The css parser has a nasty little flaw. If I declare a tag-class with a 
context selector in front of it, the class is not recognized.

Solution:
The attached patch fixes the issue so that ALL classes in a selector 
rule will be handled. The selector

   .content table.fullwidth thead th.number

will result in three classes being available: "content" (for all 
elements), "fullwidth" (for table), and "number" (for th).

The solution is applied to both block style and text(inline) style.

Note:
Thanks to Mikkel Ricky for producing this patch.

Bugtracker references:
http://bugs.typo3.org/view.php?id=7963

Branches:
trunk (revision 4557)

Regards,
Stanislas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtehtmlarea_feature_7963.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081218/80d38eda/attachment.txt 


More information about the TYPO3-team-core mailing list