Version: (using KDE 4.3.4) OS: Linux Installed from: Ubuntu Packages Testcase ======== http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/float-left-height-not-rendered-1.html Expected results ================ There should be a 300px tall green square and there should be no red. Actual results in Konqueror 4.3.4 ================================= There is a 100px tall red rectangle. Description =========== The height of the left-floated block is not rendered. The width of the #floated-left is 0px. Nevertheless, I believe that its height should be rendered. Note ---- Firefox 3.5.7, Opera 10.10 and Safari 4.0.4 pass this test. regards, Gérard
3 testcases precisely regarding this bug have been submitted to (current alpha 2: March 16th 2010) CSS 2.1 test suite: Margin-top of following siblings of a block on which 'clear' has been set (to a different value than 'none') must not be substracted when calculating clearance. When an element's own margins collapse, and that element has had clearance applied to it, its top margin collapses with the adjoining margins of following siblings. http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/margin-collapsing-033.htm http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/margin-collapsing-034.htm http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/margin-collapsing-035.htm regards, Gérard
Latest and updated links to testcases: http://test.csswg.org/suites/css2.1/latest/html4/margin-collapse-033.htm http://test.csswg.org/suites/css2.1/latest/html4/margin-collapse-034.htm http://test.csswg.org/suites/css2.1/latest/html4/margin-collapse-035.htm regards, Gérard
Dear user, KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6. Please migrate to use a QWebEngine based HTML component. We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes. For security issues, please see: https://kde.org/info/security/ Sorry that we did not fix this issue during the life-time of KHTML. Greetings Christoph Cullmann