summaryrefslogtreecommitdiff
path: root/render/box.h
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.h
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.h')
-rw-r--r--render/box.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/render/box.h b/render/box.h
index 9bef5edd3..b377cd91a 100644
--- a/render/box.h
+++ b/render/box.h
@@ -166,9 +166,11 @@ struct box {
struct box *last; /**< Last child box, or 0. */
struct box *parent; /**< Parent box, or 0. */
struct box *fallback; /**< Fallback children for object, or 0. */
- /** Box of type INLINE which contains this box in the document tree
- * (only valid for TEXT boxes). */
- struct box *inline_parent;
+ /** Sibling box after the last sibling box which was a child of this box
+ * in the document tree (the box after is used so that splitting boxes
+ * for line wrapping doesn't change it), or 0 if continues to end of
+ * inline container (only valid for INLINE boxes). */
+ struct box *end_inline_children;
/** First float child box, or 0. Float boxes are in the tree twice, in
* this list for the block box which defines the area for floats, and