Bug #20428

maxWInText setting is never used, because of missing "textPos" TypoScript property

Added by Ernesto Baschny over 10 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-05-15
Due date:
% Done:

0%

TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In the work of rearranging the TypoScript of css_styled_content (now split up into different versions), a bug was introduced in that the "textPos" property was forgotten.

This setting is used in css_styled_content's PHP code to decide if maxW or maxWInText is to be used (usually half the width).

To reproduce the problem:

1) set the constant to styles.content.imgtext.maxWInText to 300 (default)
2) insert a content element with images to the "left of text".
3) see how they get rendered 600px wide in current trunk

Now apply the patch:
Re-render the page, and now the 300px correct setting is applied to the image.

This is pretty critical as it will break several site layouts.

(issue imported from #M11094)

History

#1 Updated by Ernesto Baschny over 10 years ago

commited to trunk (rev. 5435).

#2 Updated by Benni Mack 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF