summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-11-05 12:58:24 +0000
committerJames Bursa <james@netsurf-browser.org>2006-11-05 12:58:24 +0000
commitf4f17f905b1f7d1c12baebca6f4c18362d71d80c (patch)
tree11c00c9d6ac28b3320d3bf518b7c20e4278b782c /render/html_redraw.c
parent8043344eb849cfc124a924fc5c3476a54db87c07 (diff)
downloadnetsurf-f4f17f905b1f7d1c12baebca6f4c18362d71d80c.tar.gz
netsurf-f4f17f905b1f7d1c12baebca6f4c18362d71d80c.tar.bz2
More work on lists. Simplify the implementation to a BLOCK for display: list-item, with a marker box on box->list_marker.
svn path=/trunk/netsurf/; revision=3031
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 9cf8a2927..bc57d3cba 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -333,6 +333,15 @@ bool html_redraw_box(struct box *box,
return false;
}
+ /* list marker */
+ if (box->list_marker)
+ if (!html_redraw_box(box->list_marker,
+ 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;
+
/* scrollbars */
if (box->style && box->type != BOX_BR && box->type != BOX_INLINE &&
(box->style->overflow == CSS_OVERFLOW_SCROLL ||