[TYPO3-core] RFC: #10768: Small rendering/css bug on FE with Text with image

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Apr 27 10:14:46 CEST 2010


Helmut Hummel schrieb am 24.04.2010 18:59:

> thanks to Ernesto, this thing got my attention.
> 
> On 26.03.09 23:50, Patrick Broens wrote:
>> Solution:
>> Set overflow: auto to ul and ol
> 
> This is fine.
> 
>> Set specific padding of 40px which is default for most browsers because
>> IE6/7 lose the bullets
> 
> Also fine.
> 
>> Set height: 1% for IE6/7, does not interfere with other browsers
> 
> This is wrong. The suggested and applied CSS does affect other browsers,
> leading to completely broken rendering for intext left and <ul>
> rendering for images.
> 
> Solution: Hide the "height: 1%" form other browsers, (see attached patch)
> 
> Note:
> Tested in IE 6,7, FF 3.0, 3.5, 3.6 and Safari 4
> 
> Please commit attached followup to 4_3 and trunk at least.

Thanks for the follow-up Helmut. This is the "broken CSS" that got us to
the new rules anyway.

Since the #10768 UL-bullets-fix has been in v4.3 since beginning, I
would keep it that way in 4.3 but add Helmuts fix in 4.4. This is in
pair with the new rules:

Adding the fix to 4.4's setup.txt and keeping the "broken" CSS in
v4.3/setup.txt will make sure nothing changes on upgrading from 4.3.
Upgrading from previous versions or fresh installs using the new
setup.txt will already contain the improved version.

So +1 on reading and testing. Susanne, what do you think?

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list