Version: (using KDE 4.2.4) OS: Linux Installed from: Ubuntu Packages Testcase: http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/CSS21Section984-Example.html This test comes directly from CSS 2.1, section 9.8.4 which is described starting from this precise location: http://www.w3.org/TR/CSS21/visuren.html#img-flow-absolute [ The following example shows an absolutely positioned box that is a child of a relatively positioned box. Although the parent outer box is not actually offset, setting its 'position' property to 'relative' means that its box may serve as the containing block for positioned descendants. Since the outer box is an inline box that is split across several lines, the first inline box's top and left edges (depicted by thick dashed lines in the illustration below) serve as references for 'top' and 'left' offsets. #outer { position: relative; color: red } #inner { position: absolute; top: 200px; left: -100px; height: 130px; width: 130px; color: blue; } ] Expected results for the testcase: http://www.w3.org/TR/CSS21/images/flow-abs-rel.png Konqueror 4.2.4; 2.6.28-11-generic here. regards, Gérard
Confirmed on trunk r984009.
I fail to see the rendering problem here... The child positioned box is placed at (-100, 200) of the top left of the inline text box starting with the word "Start" as it should.
Created attachment 34718 [details] rendering. Added some dotted color lines by hand to make the point of the test clearer.
Yes, you are right, Germain! I neglected to understand that font-size on p element may affect where exactly the #outer span starts and that the whole test depends on where the #outer span starts. I have modified the testcase (font-size was 26px; now is 22px). Screen resolution may also affect how the text is rendered/starts within the p element. I mishandled that test. Sorry about that. Resolving as WORKSFORME regards, Gérard
Marking as VERIFIED