L. David Baron wrote:
IIRC, <hr> width calculation is currently rather broken on the reflow branch (they don't resize correctly, at least). Is this something you intentionally did, or something that just happened?
I haven't touched <hr>, so if I changed anything about it per se, it was unintentional.
If you mean the <isindex> behavior, the problem is that it's display:inline by default. Since it's an nsAreaFrame and does block reflow "on the inside", I made it a "replaced inline with block inside" kinda thing. But for those the pref width is just the intrinsic pref width, and being inline they don't get the block treatment of having auto width mean expanding into all the available space. If I make <isindex> non-replaced, then it'll be treated as a non-replaced inline by the reflow state, and not get a computed width, which will confuse nsAreaFrame even more.
The <hr> behavior is just a consequence of them being as wide as their containing block, which is correct.
-Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

