Previous Message
Next Message

Firefox 1.0 rc2 not respecting clear:both; bug or correct behaviour?

Sent by Felix Miata on 7 November 2004 19:07


Marcus A. Hofmann wrote:
 
> Two days ago, I realized that Firefox 1.0 Release Candidate 2 on Mac OS
> X will not behave the same as previous versions in certain cases. It
> turned out that it will not respect the following rule:
 
> .clear { clear: both; }
> [... some floated divs...]
> <div class="clear"> </div>
 
> I have put up a very simple demo at:
> http://www.ntony.net/temp/ffrc2_osx_clearing.html
 
> As soon as that <div> gets some content, the clear is respected; using
> a <br> or <hr> with a class of "clear" works, too - just not an empty
> <div>. It worked in Firefox versions prior to 1.0rc2, though. Other
> browsers, such as Safari or Camino, respect the clear on the empty
> <div>.
 
> The Question now: Is this a bug introduced in Firefor 1.0rc2, or is it
> correct behaviour,

I think this bug is probably responsible:
https://bugzilla.mozilla.org/show_bug.cgi?id=148994
-- 
"Congress shall make no law respecting an establishment of religion or
prohibiting the free exercise thereof..." U.S. Constitution, Amendment 1

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread:

Possibly related: