From a785bc25f7d34a7121739219ccdc063e4ac8ba33 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 8 Oct 2006 22:46:25 +0000 Subject: 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 --- render/html_redraw.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'render/html_redraw.c') diff --git a/render/html_redraw.c b/render/html_redraw.c index f70e9eefa..9cf8a2927 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -390,14 +390,6 @@ bool html_redraw_box_children(struct box *box, scale, current_background_color)) return false; - for (c = box->absolute_children; c; c = c->next) - if (!html_redraw_box(c, - x_parent + box->x - box->scroll_x, - y_parent + box->y - box->scroll_y, - clip_x0, clip_y0, clip_x1, clip_y1, - scale, current_background_color)) - return false; - return true; } -- cgit v1.2.3