diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-03-12 17:16:31 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-03-12 17:16:31 +0000 |
commit | bcb95bf5fa2c5cfd2e7c80f211f7fd6db6ce2f9a (patch) | |
tree | 74dbe0550203d2267ffab4641d834b435c420353 /include/libcss/types.h | |
parent | feb0de14741e709472952abf5f7101a28a377c07 (diff) | |
download | libcss-bcb95bf5fa2c5cfd2e7c80f211f7fd6db6ce2f9a.tar.gz libcss-bcb95bf5fa2c5cfd2e7c80f211f7fd6db6ce2f9a.tar.bz2 |
CSS3 Namespaces
svn path=/trunk/libcss/; revision=11972
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r-- | include/libcss/types.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h index 8bc65a9..c8b9cf9 100644 --- a/include/libcss/types.h +++ b/include/libcss/types.h @@ -17,6 +17,8 @@ extern "C" #include <stdint.h> #include <stdlib.h> +#include <libwapcaplet/libwapcaplet.h> + #include <libcss/fpmath.h> /** @@ -100,6 +102,25 @@ typedef enum css_unit { CSS_UNIT_KHZ = 0xf } css_unit; +/** + * Type of a qualified name + */ +typedef struct css_qname { + /** + * Namespace URI: + * + * NULL for no namespace + * '*' for any namespace (including none) + * URI for a specific namespace + */ + lwc_string *ns; + + /** + * Local part of qualified name + */ + lwc_string *name; +} css_qname; + typedef struct css_stylesheet css_stylesheet; typedef struct css_select_ctx css_select_ctx; |