Justin Wood (Callek) wrote:
Hmm anyone here know why -moz-float-edge was added to hr in html.css?

Because something like:

<p>
<img style="float:right" src="graphic">
This is text.
<hr>
This is more text.
</p>

would have the <hr> underlapping the image otherwise (if <hr> is a strict CSS2 block and the visible part is the border, that is the layout you would get).

If the image has transparent areas, the <hr> would shine through. Similar for floated tables and so forth.

This was viewed as highly undesirable behavior.

-Boris
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to