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_normalise.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_normalise.c')
-rw-r--r-- | render/box_normalise.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/render/box_normalise.c b/render/box_normalise.c index 05e2f2d76..c67fe285d 100644 --- a/render/box_normalise.c +++ b/render/box_normalise.c @@ -643,6 +643,10 @@ bool box_normalise_inline_container(struct box *cont, struct content * c) next_child = child->next; switch (child->type) { case BOX_INLINE: + /* correct end_inline_children to the box after the + * last inline child (see box_construct_element()) */ + child->end_inline_children = + child->end_inline_children->next; case BOX_BR: case BOX_TEXT: /* ok */ |