summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2005-06-04 12:12:38 +0000
committerJames Bursa <james@netsurf-browser.org>2005-06-04 12:12:38 +0000
commit99a483dd7b744ede170eeffde5ec30fd8ed1a0e5 (patch)
tree9fdca15976a6ae4bbd442c56d61ae8b50e488805 /render/box.c
parentb2918fc57bc1069913525224dff3e2e18f3db504 (diff)
downloadnetsurf-99a483dd7b744ede170eeffde5ec30fd8ed1a0e5.tar.gz
netsurf-99a483dd7b744ede170eeffde5ec30fd8ed1a0e5.tar.bz2
[project @ 2005-06-04 12:12:38 by bursa]
Fix text-decoration and borders on inline elements by replacing inline_parent in box structure with end_inline_children. svn path=/import/netsurf/; revision=1741
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/render/box.c b/render/box.c
index 51db3c0cf..b53ae2b2b 100644
--- a/render/box.c
+++ b/render/box.c
@@ -76,7 +76,7 @@ struct box * box_create(struct css_style *style,
box->last = NULL;
box->parent = NULL;
box->fallback = NULL;
- box->inline_parent = NULL;
+ box->end_inline_children = NULL;
box->float_children = NULL;
box->next_float = NULL;
box->col = NULL;
@@ -476,8 +476,9 @@ void box_dump(struct box *box, unsigned int depth)
fprintf(stderr, " [%s]", box->title);
if (box->id != 0)
fprintf(stderr, " <%s>", box->id);
- if (box->inline_parent)
- fprintf(stderr, " inline_parent %p", box->inline_parent);
+ if (box->type == BOX_INLINE)
+ fprintf(stderr, " end_inline_children %p",
+ box->end_inline_children);
if (box->float_children)
fprintf(stderr, " float_children %p", box->float_children);
if (box->next_float)