#15892Text with image misses the clearing DIV
Description
Under certain circumstances, CSC causes a display error:
1. Have a web site with a DIV around the main content. Assign the content DIV a different background color than the rest of the page so that the container is clearly visibly.
2. Add a content element “text with image” (without the “no wrap” option”.
3. Add an image.
4. Enter some text – only so much that the text is will be less tall than the image in the front end.
Expected result:
In the FE, the containing DIV will be resized so that the image is fully inside the DIV. For this, the clearer DIV should be added after the image container.
Actual result:
The image is partly out of the content container (because it is floated and there is no clearer DIV after the image/text block).
I will attach a screenshot of the problem on http://www.niesmann.de/news/jahr_2006.html?&MP=6235-6198%2C6282-7098 .
A workaround is to use “image in text (no wrap)” instead of just “image in text” (I will use this for that page so that it looks okay again). Yet, the standard “image in text” should prevent this, too.
(issue imported from #M2978)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.