summaryrefslogtreecommitdiff
path: root/render/css.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-08-11 23:02:49 +0000
committerJames Bursa <james@netsurf-browser.org>2002-08-11 23:02:49 +0000
commit1a1c493d7442e3530a7a258e9aba2273a37ffb5d (patch)
tree1190e9b852355280f494b57e3710b726669360b7 /render/css.h
parent72a56e87921f63ed6e263c52c503d2a6296e2485 (diff)
downloadnetsurf-1a1c493d7442e3530a7a258e9aba2273a37ffb5d.tar.gz
netsurf-1a1c493d7442e3530a7a258e9aba2273a37ffb5d.tar.bz2
[project @ 2002-08-11 23:02:25 by bursa]
[monkeyson] Add font-weight and font-style. svn path=/import/netsurf/; revision=29
Diffstat (limited to 'render/css.h')
-rw-r--r--render/css.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/render/css.h b/render/css.h
index c01d20ada..d03073fc5 100644
--- a/render/css.h
+++ b/render/css.h
@@ -1,7 +1,10 @@
/**
- * $Id: css.h,v 1.6 2002/06/26 23:27:30 bursa Exp $
+ * $Id: css.h,v 1.7 2002/08/11 23:02:25 bursa Exp $
*/
+#ifndef _NETSURF_RENDER_CSS_H_
+#define _NETSURF_RENDER_CSS_H_
+
#include "css_enum.h"
/**
@@ -33,6 +36,9 @@ struct css_style {
} value;
} font_size;
+ css_font_weight font_weight;
+ css_font_style font_style;
+
struct {
enum { CSS_HEIGHT_INHERIT,
CSS_HEIGHT_AUTO,
@@ -91,3 +97,4 @@ void css_dump_stylesheet(const struct css_stylesheet * stylesheet);
void css_cascade(struct css_style * const style, const struct css_style * const apply);
void css_parse_property_list(struct css_style * style, char * str);
+#endif