Wow Robert, looks like you've been really busy on bug 209694. I tried to follow it all the way through, but must admit got lost on some of the technicalities. I have managed to reduce the issue I had down to bug 272771 which has a very simple html and associated stylesheet attached to it. I am hoping that it may have been covered by your efforts, cause its definitely in the same realm. Its all about sizing of containing elements by children that are floaters, but it doesn't rely on clearance.
Would you be able to have a look and let me know? William "William" <no span from you> wrote in message news:[EMAIL PROTECTED] > This sounds like it might be related to a bug I have been seeing lately > where a <hr> tag in an enclosing <div> keep sneaking up into the pane of a > sibling <div> that was float:right, instead of ruling across the entire > enclosing <div>. > Though I'm not using 'clear', just 'float:left' and 'float:right' to manage > to sibling panes. > > Shouldn't the container grow to include the floats? > That was my take on the CSS 2.1 rules. > > William > > > "Robert O'Callahan" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > I've checked in the fix for bug 209694 which makes us much more > > compatible with the (extremely complex) CSS 2.1 rules for the > > interaction of margin-collapsing and 'clear'. If you notice strange > > things now happening on pages using 'clear', check the CSS 2.1 rules > > very carefully before filing a bug... > > > > One nice effect of this fix is that markup like this now works: > > > > <div style="background:yellow;"> > > <div style="float:left;">...</div> > > <div style="clear:both;"></div> > > </div> > > > > This should make the yellow DIV's height grow to include the entire > > float. But before the fix, we didn't do that right. With the fix, it > > works. This is very useful for authors who want to emulate IE's > > non-standard behaviour of always growing the container to include the > > floats. > > > > Rob > > _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
