Author: bursa
Date: Tue Aug 15 00:05:08 2006
New Revision: 2849
URL:
http://svn.semichrome.net?rev=2849&view=rev
Log:
Fix layout of standalone <br>.
Modified:
trunk/netsurf/render/layout.c
Modified: trunk/netsurf/render/layout.c
URL:
http://svn.semichrome.net/trunk/netsurf/render/layout.c?rev=2849&r1=2...
==============================================================================
--- trunk/netsurf/render/layout.c (original)
+++ trunk/netsurf/render/layout.c Tue Aug 15 00:05:08 2006
@@ -817,7 +817,7 @@
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; ) {