diff options
author | James Bursa <james@netsurf-browser.org> | 2005-06-04 12:12:38 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-06-04 12:12:38 +0000 |
commit | 99a483dd7b744ede170eeffde5ec30fd8ed1a0e5 (patch) | |
tree | 9fdca15976a6ae4bbd442c56d61ae8b50e488805 /render/box.c | |
parent | b2918fc57bc1069913525224dff3e2e18f3db504 (diff) | |
download | netsurf-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.c | 7 |
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) |