On Apr 5, 12:38 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Can you please tell me where is the code which determine if a html > > element fits on the same line or a different line? > > There are several places depending on the type of element. For the case you > want, you should be looking at nsLineLayout and ReflowLine/ReflowInlineFrames > in > nsBlockFrame, I think. > > -Boris
Boris, Thank you. Can you please tell me which parameters is the nsBlockFrame uses to determine how many element can be fixed in the same line? like in my example: Introduction to Layout in Mozilla (2002-06-10, waterson): <a href="gecko-overview.htm">slides</a> (and <a href="gecko- overview.ppt">original powerpoint slides</a>) _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

