mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 23:09:43 +03:00
Restore clipping rectangle before rendering scrollbars. Fixes broken rendering due to interaction between text selection and scroll.
svn path=/trunk/netsurf/; revision=12379
This commit is contained in:
parent
d41dcfa780
commit
297f1dfebb
@ -689,6 +689,11 @@ bool html_redraw_box(struct box *box, int x_parent, int y_parent,
|
|||||||
return false;
|
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 */
|
/* list marker */
|
||||||
if (box->list_marker)
|
if (box->list_marker)
|
||||||
if (!html_redraw_box(box->list_marker,
|
if (!html_redraw_box(box->list_marker,
|
||||||
|
Loading…
Reference in New Issue
Block a user