summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-06-21 02:51:00 +0000
committerJames Bursa <james@netsurf-browser.org>2006-06-21 02:51:00 +0000
commit878ef9883edbdff8b73cd95d099a59783d807e6b (patch)
tree8d2b312bfbb4b9aefd14e34d84ca5deda3e27d87 /render/box.h
parent9eb3efff78d311a386ce783224d5e7bd6b88a5b1 (diff)
downloadnetsurf-878ef9883edbdff8b73cd95d099a59783d807e6b.tar.gz
netsurf-878ef9883edbdff8b73cd95d099a59783d807e6b.tar.bz2
Changes to struct box for absolute positioning.
svn path=/trunk/netsurf/; revision=2640
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/box.h b/render/box.h
index 5a82830db..ce439381b 100644
--- a/render/box.h
+++ b/render/box.h
@@ -193,6 +193,10 @@ struct box {
/** Next sibling float box. */
struct box *next_float;
+ /** First absolutely positioned child box, or 0. Absolutely positioned
+ * boxes are linked by next / prev and do not appear under children. */
+ struct box *absolute_children;
+
struct column *col; /**< Array of table column data for TABLE only. */
/** Form control data, or 0 if not a form control. */
@@ -259,6 +263,7 @@ struct box * box_create(struct css_style *style,
char *href, const char *target, char *title,
char *id, void *context);
void box_add_child(struct box *parent, struct box *child);
+void box_add_absolute_child(struct box *parent, struct box *child);
void box_insert_sibling(struct box *box, struct box *new_box);
void box_unlink_and_free(struct box *box);
void box_free(struct box *box);