I am on a 2.16 GHz Intel Core Duo with Mac OS X 10.4.9 with 2 GB RAM.
This test case, in both a MinefieldDebug build and with 18.104.22.168, does not display "HI" as it should.
In Opera 9.20, this displays "HI".
As far as I can tell, the test is wrong... Certainly the first two lines we're rendering as we should, as far as I see. I'm not sure why the 4em right padding is not affecting the third line to give even more blue, but in any case I wouldn't expect "HI" here.
Created attachment 270693 [details]
the test using instead of padding
Boris: It seems to me the test is correct. In the attached testcase I removed the padding and added three s after the span, and there's a very visible "HI".
The CSS 2.1 spec says (http://www.w3.org/TR/CSS21/box.html#q11):
"... the right-most generated box of the last line box in which the element appears has the right padding, right border and right margin."
It seems to me then that the 3em of padding after the span should take up exactly the same space the 3 s do in the modified test.
Created attachment 270747 [details]
Testcase that shows the problem a little more clearly
Ah, it seems I can't count to 11. :(
This testcase clearly shows that the issue is that the padding affects line breaking in all the lines, even though it's only applied to the last line.
And this is a duplicate.
*** This bug has been marked as a duplicate of bug 122795 ***