mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-23 23:09:39 +03:00
[project @ 2005-07-02 17:49:40 by bursa]
Display contents of table->col[] in box_dump(). svn path=/import/netsurf/; revision=1774
This commit is contained in:
parent
b81b983b36
commit
844f4af2de
11
render/box.c
11
render/box.c
@ -486,6 +486,17 @@ void box_dump(struct box *box, unsigned int depth)
|
||||
fprintf(stderr, " float_children %p", box->float_children);
|
||||
if (box->next_float)
|
||||
fprintf(stderr, " next_float %p", box->next_float);
|
||||
if (box->col) {
|
||||
fprintf(stderr, " (columns");
|
||||
for (i = 0; i != box->columns; i++)
|
||||
fprintf(stderr, " (%s %i %i %i)",
|
||||
((const char *[]) {"UNKNOWN", "FIXED",
|
||||
"AUTO", "PERCENT", "RELATIVE"})
|
||||
[box->col[i].type],
|
||||
box->col[i].width,
|
||||
box->col[i].min, box->col[i].max);
|
||||
fprintf(stderr, ")");
|
||||
}
|
||||
fprintf(stderr, "\n");
|
||||
|
||||
for (c = box->children; c && c->next; c = c->next)
|
||||
|
Loading…
Reference in New Issue
Block a user