Bruno Fassino schrieb:
> I think it's really a bug. It looks like a variant of this:
> <https://bugzilla.mozilla.org/show_bug.cgi?id=41412>
...
> It's odd that Safari shares exactly the same problem!

Yes, thank you for finding the bug! And as Georg remembered, it's an very old one. Bugzilla keeps being a miracle to me, but I was unsure about Safari sharing the bug, odd indeed, but the technical info from Adam is very reasonable: its just easier to use one point in the line box.

https://bugzilla.mozilla.org/show_bug.cgi?id=41412
see the attachment, looks equal:
https://bugzilla.mozilla.org/attachment.cgi?id=180508

Adam Kuehn schrieb:

... To me, it contemplates that the tops of any floats will always correspond with the tops of any encountered line boxes, and simply doesn't address the case presented here in which the top of the float is between the tops of content line boxes. The left float in this instance cannot be "placed on that line, aligned with the top of the line box" because the vertical position of the float has already been determined in reference to a different line box (i.e. the line box generated by the right floats). Moving the float as this paragraph describes would cause the floated box to move too high.

Ah. Thanks for clarifying this to me.

Ideally, of course, one would hope that the UA would determine that the entire inline box of the text does not fit, and would reflow that line of content so it does not overlap. However, nothing I can find in the spec actually requires that behavior, and I'm guessing the Gecko and Safari algorithms simplify by only calculating the top of each of the two boxes. Since the float top was below the inline box top, my speculation is that those browsers simply stop there and do not reflow that line.

No matter if this is a bug according to the spec or not, I /should/ be a bug, we do not expect this overlapping, and there is no easy workaround.

Can you leave your sample page up a for a little while? This seems like something to raise with the CSS WG, both for CSS 2.1 and the CSS3 box module, and with your permission, I'll submit your page to the WWW-Style mailing list.

Yes, I will leave it as-is.

Thanks to all who had a look. Very helpful.

Ingo
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to