summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-10-08 22:46:25 +0000
committerJames Bursa <james@netsurf-browser.org>2006-10-08 22:46:25 +0000
commita785bc25f7d34a7121739219ccdc063e4ac8ba33 (patch)
tree405d361f065cc5a01ee19ca228eb7816c3bb0c93 /render/box.h
parentd2469b806c00b82a708cd14caec8c9e3d1286833 (diff)
downloadnetsurf-a785bc25f7d34a7121739219ccdc063e4ac8ba33.tar.gz
netsurf-a785bc25f7d34a7121739219ccdc063e4ac8ba33.tar.bz2
Modify implementation of absolute positioning to support "static positions". Absolutely positioned boxes are now in their original place in the tree instead of linked from absolute_children.
svn path=/trunk/netsurf/; revision=2984
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/render/box.h b/render/box.h
index 90d011486..a0c43ef1e 100644
--- a/render/box.h
+++ b/render/box.h
@@ -193,10 +193,6 @@ 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. */
@@ -264,7 +260,6 @@ 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);