diff options
Diffstat (limited to 'render')
-rw-r--r-- | render/box.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/render/box.c b/render/box.c index c6e1702d5..e871b866b 100644 --- a/render/box.c +++ b/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) |