summaryrefslogtreecommitdiff
path: root/render/box.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-02 18:27:41 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-02 18:27:41 +0000
commit77f67bccb666876fbeb0081550e0245de7ad411b (patch)
tree94a71b4822fef4b1972e9d8bbb74fe8a3b940507 /render/box.h
parentf744c9dfa0b283af31eb9bada8ffb63809acb0db (diff)
downloadnetsurf-77f67bccb666876fbeb0081550e0245de7ad411b.tar.gz
netsurf-77f67bccb666876fbeb0081550e0245de7ad411b.tar.bz2
Move style_owned to box flags.
svn path=/trunk/netsurf/; revision=11887
Diffstat (limited to 'render/box.h')
-rw-r--r--render/box.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/render/box.h b/render/box.h
index 0f3d06f7c..a24047001 100644
--- a/render/box.h
+++ b/render/box.h
@@ -118,7 +118,8 @@ typedef enum {
/** Type of a struct box. */
typedef enum {
- NEW_LINE = 1 << 0 /* first inline on a new line */
+ NEW_LINE = 1 << 0, /* first inline on a new line */
+ STYLE_OWNED = 1 << 1 /* style is owned by this box */
} box_flags;
/* Sides of a box */
@@ -149,8 +150,6 @@ struct box {
* a box's 'styles' select results, except for implied boxes, where it
* is a pointer to an owned computed style. */
css_computed_style *style;
- /** Whether the style is owned by this box. */
- bool style_owned;
/** Coordinate of left padding edge relative to parent box, or relative
* to ancestor that contains this box in float_children for FLOAT_. */