diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2004-01-28 21:48:10 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2004-01-28 21:48:10 +0000 |
commit | 1ee029cee6ff5455a5e3c894035319dd67da22de (patch) | |
tree | 1c9f292cb1e9f93d77f4c8702a94856bf991f073 /css/css.h | |
parent | ec933cf4857e9f78879cf6c02a86a3f5b463252d (diff) | |
download | netsurf-1ee029cee6ff5455a5e3c894035319dd67da22de.tar.gz netsurf-1ee029cee6ff5455a5e3c894035319dd67da22de.tar.bz2 |
[project @ 2004-01-28 21:48:10 by jmb]
Add font-family support. Still needs a little work, but works fine as is.
Add CSS rules for text formatting HTML tags (<DFN> <CITE> <CODE> etc.)
Update TODO lists.
svn path=/import/netsurf/; revision=514
Diffstat (limited to 'css/css.h')
-rw-r--r-- | css/css.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -52,6 +52,16 @@ typedef enum { CSS_TEXT_DECORATION_UNKNOWN = 0x1000 } css_text_decoration; +typedef enum { + CSS_FONT_FAMILY_INHERIT = 0x1, + CSS_FONT_FAMILY_SANS_SERIF = 0x2, + CSS_FONT_FAMILY_SERIF = 0x4, + CSS_FONT_FAMILY_MONOSPACE = 0x8, + CSS_FONT_FAMILY_CURSIVE = 0x10, + CSS_FONT_FAMILY_FANTASY = 0x20, + CSS_FONT_FAMILY_UNKNOWN = 0x1000 +} css_font_family; + /** Representation of a complete CSS 2 style. */ struct css_style { colour background_color; @@ -72,6 +82,7 @@ struct css_style { } value; } font_size; + css_font_family font_family; css_font_weight font_weight; css_font_style font_style; |