On Apr 5, 3:50 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Can you please tell me which parameters is the nsBlockFrame uses to > > determine how many element can be fixed in the same line? > > You basically go along until you've used up the available width.... There's > code in nsLineLayout for determining whether the next thing will fit. > > -Boris
Boris, Thank you very much for your help. For the case that I mention in my earlier email, it is nsLineLayout. But can you please tell me where is the code which decides where to wrap in the following case, where the anchor, text is wrapped inside a DIV or SPAN: <div class="news-details"> <a href="/2008_us_elections/ Penn_Clinton_and_Obama_The_Colombia_Backstory" class="tool comments">34 Comments</a> <a href="/login" onclick="return popps(0)" class="tool share">Share</ a><div class="bury tool"> <a href="#" class="bury-link" onclick="return poppr(0);">Bury</a> </div> <span class="tool user-info"> <a rel="dc:creator" href="/users/ezrastiles"><img src="/img/uds.png" alt="ezrastiles" class="user-photo" width="16" height="16">ezrastiles</ a> made popular <span class="d" property="dc:date" content="2008-04-05 07:35:11"> <span class="d">54 min ago</span></span> </span> _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

