From 3af1dbdb127283b64058c3b842932197a5c777b3 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 28 Aug 2007 00:53:22 +0000 Subject: Fix disappearing borders for elements with overflow: hidden. svn path=/trunk/netsurf/; revision=3534 --- render/layout.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/render/layout.c b/render/layout.c index 7b2ac7809..234a0a43a 100644 --- a/render/layout.c +++ b/render/layout.c @@ -3065,8 +3065,7 @@ void layout_calculate_descendant_bboxes(struct box *box) layout_calculate_descendant_bboxes(child); - if (child->style && - child->style->overflow != CSS_OVERFLOW_VISIBLE) + if (box->style && box->style->overflow == CSS_OVERFLOW_HIDDEN) continue; if (child->x + child->descendant_x0 < box->descendant_x0) -- cgit v1.2.3