summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-08-14 23:05:08 +0000
committerJames Bursa <james@netsurf-browser.org>2006-08-14 23:05:08 +0000
commit304616a7970e0231e296904c72f21716f1e5420f (patch)
tree6ea99cc53f943eec0ae6e0c249b4ee072cb33d76 /render
parent5295d21743fd0a1c968f6c53125fe61101b155a4 (diff)
downloadnetsurf-304616a7970e0231e296904c72f21716f1e5420f.tar.gz
netsurf-304616a7970e0231e296904c72f21716f1e5420f.tar.bz2
Fix layout of standalone <br>.
svn path=/trunk/netsurf/; revision=2849
Diffstat (limited to 'render')
-rw-r--r--render/layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c
index 856c6bad0..715b126ec 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -817,7 +817,7 @@ bool layout_inline_container(struct box *inline_container, int width,
has_text_children = false;
for (c = inline_container->children; c; c = c->next)
- if (!c->object && c->text && c->length)
+ if ((!c->object && c->text && c->length) || c->type == BOX_BR)
has_text_children = true;
for (c = inline_container->children; c; ) {