diff options
author | James Bursa <james@netsurf-browser.org> | 2007-08-28 00:53:22 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2007-08-28 00:53:22 +0000 |
commit | 3af1dbdb127283b64058c3b842932197a5c777b3 (patch) | |
tree | 8bb85647baed1a1faa60add2fd1927409e0e9a41 /render/layout.c | |
parent | 81df02abe4f599da7fa29e809c2ae46acff76cef (diff) | |
download | netsurf-3af1dbdb127283b64058c3b842932197a5c777b3.tar.gz netsurf-3af1dbdb127283b64058c3b842932197a5c777b3.tar.bz2 |
Fix disappearing borders for elements with overflow: hidden.
svn path=/trunk/netsurf/; revision=3534
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 3 |
1 files changed, 1 insertions, 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) |