From bcb95bf5fa2c5cfd2e7c80f211f7fd6db6ce2f9a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 12 Mar 2011 17:16:31 +0000 Subject: CSS3 Namespaces svn path=/trunk/libcss/; revision=11972 --- include/libcss/types.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'include/libcss/types.h') 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 #include +#include + #include /** @@ -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; -- cgit v1.2.3