summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
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/html_redraw.c
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/html_redraw.c')
-rw-r--r--render/html_redraw.c8
1 files changed, 0 insertions, 8 deletions
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;
}