From 99a483dd7b744ede170eeffde5ec30fd8ed1a0e5 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 4 Jun 2005 12:12:38 +0000 Subject: [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 --- render/box.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'render/box.c') 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) -- cgit v1.2.3