Version: 3.2.0 (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker) Compiler: gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) OS: Linux (i686) release 2.4.25-1mdk A bug appeared with Konqueror 3.2 (And strangly with Mozilla 1.6 too). When using overflow:hidden style on a element, margin CSS attributes are not respected. Testcase is better tha world : http://shift.freezope.org/css_lab/test/div As you can see the boxes A C and B are separated but they will touched together. That is the case when removing overflow:hidden. -------------- Testcase code ------------------------ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"> <head> <title>overflow : hidden testcase</title> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-15" /> <style> div[id] { border : 2px solid black; } #a { float:left; height:100px; width:150px; } #b { float:right; height:100px; width:100px; } #c { height:200px; margin-left:150px; margin-right: 100px; overflow: hidden; } </style> </head> <body> <div> <div id="a">A</div> <div id="b">B</div> <div id="c">C</div> </div> </body> </html>
Mozilla similar bug report http://bugzilla.mozilla.org/show_bug.cgi?id=236259
it works fine for me. C will get smaller when you make the window smaller (and what has this to do with the summary?)
I see the mozilla problem though
For the summary I don't understand. It is the summary of one of my previous bug report :( Can anybody change the summary ?
Stephan Kulow: that is not the point. The point is that the result should be the same with or without overflow: hidden, which is not the case.