Changes

Jump to: navigation, search

Mozilla.dev.tech.layout

17 bytes removed, 13:46, 13 October 2006
FAQ
== FAQ ==
=== 1. Is there a way to do profiling of what is going on in Mozilla? Is there a framework for this? ===
A. If you're 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
be used. [http://www.mozilla.org/performance/tools.html] also lists some profiles.
=== 2. How do you findout if there are any reflows that are pending and wait to show the view until afterwards, but if none are pending, show the view immediately? What is the best way to determine whether there are any pending changes? ===
A. On the reflow branch you could check the DIRTY and DIRTY_CHILDREN framestate
cases when the popup or something in it needs to be reflown.
=== 3. What are the lowercase items called "line"? ===
Block(body)(1)@035FF490 {120,120,8820,600} [state=00000010]
sc=035FF264(i=2,b=0)<
[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 ? ===
A. [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.
1
edit

Navigation menu