Debugging facilities in HTML-table code

Reflow

In nsTableFrame.cpp by changing the #ifdef 1 to #ifdef 0 you can turn on the table reflow log mechanism. A sample line is:

new: Tbl 00B6C4E0 r=0 a=8940 c=0,0 cnt=0

TO::Rfl en 00B74D78 rea=0 av=(8940,UC) comp=(0,0) count=0

The lines has the

TO::Rfl ex 00B74D78 des=(1500,900) During the initial reflow the minimum size for the corresponding element is also computed and reported like:

TC::Rfl ex 00B75498 des=(2070,315) maxElem=(2070,315)

Block Reflow

Another possibilty to debug the reflow process is implemented inside nsBlockFrame.cpp. It can be invoked by

set GECKO_BLOCK_DEBUG_FLAGS=reflow

The available options are:

These options can be combined with a comma seperated list Messages generated by the reflow switch: