Version: (using KDE 4.4.2) OS: Linux Installed from: Ubuntu Packages Testcase -------- http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/inline-box-002.htm Actual results in Konqueror 4.4.2 --------------------------------- The orange box is within the yellow box, toward the top of the yellow box. Expected results ---------------- The orange box should be between the two blue boxes. Notes ----- Firefox 3.5.9, Firefox 3.6.3, IE8 pass this testcase. regards, Gérard
Reference --------- " When an inline box contains a block box, the inline box (and its inline ancestors within the same line box) are broken around the block. The line boxes before the break and after the break are enclosed in anonymous boxes, and the block box becomes a sibling of those anonymous boxes. When such an inline box is affected by relative positioning, the relative positioning also affects the block box. " CSS 2.1, section 9.2.1.1 Anonymous block boxes http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level regards, Gérard
Testcase -------- http://test.csswg.org/suites/css2.1/latest/html4/inline-box-002.htm
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