summaryrefslogtreecommitdiff
path: root/render/html_interaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_interaction.c')
-rw-r--r--render/html_interaction.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 8f60877e2..98fb4c9cb 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -236,8 +236,6 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
while ((next_box = box_at_point(box, x, y, &box_x, &box_y, &content)) !=
NULL) {
- enum css_overflow_e overflow = CSS_OVERFLOW_VISIBLE;
-
box = next_box;
if (box->style && css_computed_visibility(box->style) ==
@@ -280,9 +278,6 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
pointer = get_pointer_shape(bw, box, false);
- if (box->style)
- overflow = css_computed_overflow(box->style);
-
if ((box->scroll_x != NULL || box->scroll_y != NULL) &&
drag_candidate == NULL)
drag_candidate = box;