Version: (using KDE KDE 3.2.3) Installed from: Debian testing/unstable Packages OS: Linux Hi, I have a problem with a simple html-layout that is realized through css. I attached a testcase. The problem is that the first group of the 4 divs "4 3 2 1" correctly touches the div below, but every following group does not. It seems like the "margin-bottom:10px" rule only gets applied on the first group. Maybe it shows a problem in khtml, but I'm not sure about that, it could also be a problem in the html/css. (but opera, gecko and ie display it fine) The html for each block of the 8 divs is identic. I suck at explaining, so better look at the result in khtml 3.2.3 to see the problem... ;-) (created a bugreport and attached the testcase as requested by Germain in this thread: http://lists.kde.org/?l=kfm-devel&m=108974839709306&w=2 )
Created attachment 6673 [details] testcase
Created attachment 6724 [details] reduced test case this test case shows a bit better what's going on.
CVS commit by ggarand: - when positionning floats, use the margin tracking variables, and not the prevFlow - there might be self-collapsing blocks in-between (#85150). - fix Marquee initial layout. - calcMinMaxWidth fixes (webcore/fast/{block/positioning/060.html,text/whitespace/025.html}) CCMAIL: 85150-done@bugs.kde.org, l.savernik@aon.at M +16 -0 ChangeLog 1.275 M +25 -17 rendering/render_block.cpp 1.38 M +0 -1 rendering/render_object.cpp 1.267 M +3 -3 rendering/render_object.h 1.192 M +3 -1 xml/dom_elementimpl.cpp 1.200
Merci Germain, t'es une bête!