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

Reply via email to