summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index df8fd8d41..cc80bde81 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -689,6 +689,11 @@ bool html_redraw_box(struct box *box, int x_parent, int y_parent,
return false;
}
+ if (box->type == BOX_BLOCK || box->type == BOX_INLINE_BLOCK ||
+ box->type == BOX_TABLE_CELL || box->type == BOX_INLINE)
+ if (!plot.clip(clip))
+ return false;
+
/* list marker */
if (box->list_marker)
if (!html_redraw_box(box->list_marker,