diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-16 00:03:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2005-01-16 00:03:45 +0000 |
commit | 1e592489b152d305a44c3049ab7e263f2be9f6f7 (patch) | |
tree | f357f3664608495d7a041808621ae0a4ca557e63 /css/css.h | |
parent | 1487697cb3d69c8eb86b50b441f4c44fe0a0ff12 (diff) | |
download | netsurf-1e592489b152d305a44c3049ab7e263f2be9f6f7.tar.gz netsurf-1e592489b152d305a44c3049ab7e263f2be9f6f7.tar.bz2 |
[project @ 2005-01-16 00:03:45 by jmb]
Create interface for duplication and destruction of css_style structs.
svn path=/import/netsurf/; revision=1450
Diffstat (limited to 'css/css.h')
-rw-r--r-- | css/css.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -112,7 +112,7 @@ typedef enum { CSS_VERTICAL_ALIGN_PERCENT, CSS_VERTICAL_ALIGN_NOT_SET } css_vertical_align_type; - + struct css_counter { const char *name; css_list_style_type style; @@ -560,6 +560,8 @@ const char *css_parser_TokenName(int tokenType); #endif void css_get_style(struct content *c, xmlNode *n, struct css_style * style); +struct css_style *css_duplicate_style(const struct css_style * const style); +void css_free_style(struct css_style *style); void css_cascade(struct css_style * const style, const struct css_style * const apply); void css_merge(struct css_style * const style, |