From df3341cb4305831a94c9983219f4a814406dc692 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 26 Jun 2002 23:27:30 +0000 Subject: [project @ 2002-06-26 23:27:30 by bursa] Implied table elements and colspan implemented. svn path=/import/netsurf/; revision=24 --- render/box.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'render/box.h') diff --git a/render/box.h b/render/box.h index 0aa8e56f3..76a3e69ac 100644 --- a/render/box.h +++ b/render/box.h @@ -1,19 +1,24 @@ /** - * $Id: box.h,v 1.3 2002/06/18 21:24:21 bursa Exp $ + * $Id: box.h,v 1.4 2002/06/26 23:27:30 bursa Exp $ */ /** * structures */ +typedef enum { + BOX_BLOCK, BOX_INLINE_CONTAINER, BOX_INLINE, + BOX_TABLE, BOX_TABLE_ROW, BOX_TABLE_CELL, BOX_FLOAT +} box_type; + struct box { - enum { BOX_BLOCK, BOX_INLINE_CONTAINER, BOX_INLINE, - BOX_TABLE, BOX_TABLE_ROW, BOX_TABLE_CELL, BOX_FLOAT } type; + box_type type; xmlNode * node; struct css_style * style; unsigned long x, y, width, height; const char * text; unsigned int length; + unsigned int colspan; struct box * next; struct box * children; struct box * last; -- cgit v1.2.3