diff options
author | James Bursa <james@netsurf-browser.org> | 2002-06-26 23:27:30 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2002-06-26 23:27:30 +0000 |
commit | df3341cb4305831a94c9983219f4a814406dc692 (patch) | |
tree | 4a56a12267cd9bb7132be6c0876035c766a55da9 /render/box.h | |
parent | 900a3a9b241698b50b0a5276198f644304085100 (diff) | |
download | netsurf-df3341cb4305831a94c9983219f4a814406dc692.tar.gz netsurf-df3341cb4305831a94c9983219f4a814406dc692.tar.bz2 |
[project @ 2002-06-26 23:27:30 by bursa]
Implied table elements and colspan implemented.
svn path=/import/netsurf/; revision=24
Diffstat (limited to 'render/box.h')
-rw-r--r-- | render/box.h | 11 |
1 files changed, 8 insertions, 3 deletions
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; |