== FAQ ==
1Located on MDC at: [http://developer. Is there a way to do profiling of what is going on in Mozilla? Is there a framework for this? mozilla.org/en/docs/Layout_FAQ Layout FAQ]
A. If you're <div class="note">=== Is there a way to do profiling of what is going on Linux, then you can try using jprof. Instructions are available at [http://lxr.mozilla.org/mozilla/source/tools/jprof/README.html Jprof Readme] On more recent linux versions sysprof can also in Mozilla? be used. [http://www.mozilla.org/performance/tools.html] also lists some profiles.Is there a framework for this? ===
2If you're on Linux, then you can try using jprof. How do you findout if there Instructions are any reflows that are pending and wait to show the view until afterwards, but if none are pending, show the view immediately? available at [http://lxr.mozilla.org/mozilla/source/tools/jprof/README.html Jprof Readme] What is the best way to determine whether there are any pending changes? ===On more recent linux versions sysprof can also be used. [http://www.mozilla.org/performance/tools.html] also lists some profiles.</div>
A. On the reflow branch <div class="note">=== How do you could check find out if there are any reflows that are pending and wait to show the DIRTY and DIRTY_CHILDREN framestate flags. That won't help with view until afterwards, but if none are pending style changes, but it'll work to detect show the view immediately? cases when What is the popup or something in it needs best way to be reflown.determine whether there are any pending changes? ===
3On the reflow branch you could check the DIRTY and DIRTY_CHILDREN framestate flags. What are That won't help with pending style changes, but it'll work to detect cases when the lowercase items called "line"? ===popup or something in it needs to be reflown. Block(body)(1)@035FF490 {120,120,8820,600} [state=00000010] sc=035FF264(i=2,b=0)< line 035FFC18: count=1 state=inline,clean,prevmarginclean,not impacted,not wrapped,before:nobr,after:linebr[0x5100] {0,0,330,300} < Inline(span)(0)@035FFA04 next=035FFC48 next-continuation=035FFC48 {0,7,330,285} [content=0359ED50] [sc=035FF990]< Text(0)@035FFA8C[0,4,T] next=035FFB1C {0,0,330,285} [state=41600020] sc=035FFA3C pst=:-moz-non-element< "\nabc" /div> Frame(br)(1)@035FFB1C {330,225,0,0} [state=00000020] [content=035AEBF0] > > A. The linebox is used to contain everything on a single line: [http://lxr.mozilla.org/seamonkey/source/layout/generic/nsLineBox.cpp#206 Example]
4. How do you fix inconsistent float behavior in firefox involving a two column layout using display:table and floating <div elements class="note">=== What are the lowercase items called "line"? ===<pre>Block(body)(1)@035FF490 {120,120,8820,600} [state=00000010]sc=035FF264(i=2,b=0)< line 035FFC18: count=1state=inline,clean,prevmarginclean,not impacted,notwrapped,before:nobr,after:linebr[0x5100] {0,0,330,300} < Inline(span)(0)@035FFA04 next=035FFC48next-continuation=035FFC48 {0,7,330,285} [content=0359ED50][sc=035FF990]< Text(0)@035FFA8C[0,4,T] next=035FFB1C {0,0,330,285}[state=41600020] sc=035FFA3C pst=:-moz-non-element< "\nabc" > Frame(br)(1)@035FFB1C {330,225,0,0} [state=00000020][content=035AEBF0] > > </pre>The linebox is used to contain everything on a single line: [http://lxr.mozilla.org/seamonkey/source/layout/generic/nsLineBox.cpp#206 Example]</div>
A. <div class="note">=== How do you fix inconsistent float behavior in firefox involving a two column layout using display:table and floating div elements? === [https://bugzilla.mozilla.org/show_bug.cgi?id=105520 This is a bug in Firefox.] You can work around it by removing display:table in the style rule with the "#main" selector or adding clear:both to it.</div>