[project @ 2004-06-18 22:55:28 by bursa]

Output some more data in box_dump().

svn path=/import/netsurf/; revision=980
This commit is contained in:
James Bursa 2004-06-18 22:55:28 +00:00
parent 02898d7b26
commit 6ce6e99659
2 changed files with 6 additions and 4 deletions

View File

@ -1410,10 +1410,12 @@ void box_dump(struct box * box, unsigned int depth)
case BOX_INLINE_CONTAINER: fprintf(stderr, "BOX_INLINE_CONTAINER "); break;
case BOX_INLINE: fprintf(stderr, "BOX_INLINE "); break;
case BOX_INLINE_BLOCK: fprintf(stderr, "BOX_INLINE_BLOCK "); break;
case BOX_TABLE: fprintf(stderr, "BOX_TABLE "); break;
case BOX_TABLE_ROW: fprintf(stderr, "BOX_TABLE_ROW "); break;
case BOX_TABLE_CELL: fprintf(stderr, "BOX_TABLE_CELL [columns %i] ",
case BOX_TABLE: fprintf(stderr, "BOX_TABLE [columns %i] ",
box->columns); break;
case BOX_TABLE_ROW: fprintf(stderr, "BOX_TABLE_ROW "); break;
case BOX_TABLE_CELL: fprintf(stderr, "BOX_TABLE_CELL [columns %i, "
"start %i, rows %i] ", box->columns,
box->start_column, box->rows); break;
case BOX_TABLE_ROW_GROUP: fprintf(stderr, "BOX_TABLE_ROW_GROUP "); break;
case BOX_FLOAT_LEFT: fprintf(stderr, "BOX_FLOAT_LEFT "); break;
case BOX_FLOAT_RIGHT: fprintf(stderr, "BOX_FLOAT_RIGHT "); break;

View File

@ -164,7 +164,7 @@ struct box {
char *href; /**< Link, or 0. */
char *title; /**< Title, or 0. */
unsigned int columns; /**< Number of columns for TABLE only. */
unsigned int columns; /**< Number of columns for TABLE / TABLE_CELL. */
unsigned int rows; /**< Number of rows for TABLE only. */
unsigned int start_column; /**< Start column for TABLE_CELL only. */