[TYPO3-content-rendering] Bug in CSC in RC3?

Franz Koch typo3 at fx-graefix.de
Thu Apr 6 01:01:37 CEST 2006


Hi Ernesto,

> Adding support for the textMargin attribute RC3 created a miscalculation
> in this margin needed for FF to keep the text to the right (or left) of
> the image block. I've just submitted a bug report on that:
> 
> http://bugs.typo3.org/view.php?id=3138
> 
> Attached is a patch that should solve this specific problem. Please try
> it out and see if "all" the problems here are solved. If there are any
> further issues not handled yet, please add a note to the report.

Yes, it does. Nice work.


> We need to add the margin that separates the image block from the text
> around the image block itself, because the text might wrap around it,
> and we don't want the margin after the wrapping occurs. So I think this
> margin-setting is correct, just the no-wrap case was being miscalculated
> (this is added as an inline-style to the text-block in question, because
> it depends on the size of the image block!!).

Yes, you're right - it was correct. I had a little bug myself in the 
class names (sorry for that). Now (with applyed patch), everything works 
as expected - at least for rendering as it seems.

Only the icons in the dropdown-list for selecting the image position in 
BE looks a little buggy (the images inside the dropdown are cropped and 
overlayed by the describing text in FF). This seems not to be related to 
a BE skin as it appears in both - the "old" BE skin and the new one for 
4.0 (on RC3).

-- 
Kind regards,
Franz Koch



More information about the TYPO3-project-content-rendering mailing list