summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 08:38:52 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-25 08:38:52 +0000
commit71c08ab16507d3d8a961fbc9c40da8f2788fac00 (patch)
treec5a81c33e8f8294569d0cb73ebedbefef24eb129 /include
parente4e3c228c0c325dabe6be94efefea08badb72496 (diff)
downloadlibcss-71c08ab16507d3d8a961fbc9c40da8f2788fac00.tar.gz
libcss-71c08ab16507d3d8a961fbc9c40da8f2788fac00.tar.bz2
Modify CSS2.1 frontend test driver to use the public stylesheet API.
Media type handling may need to change -- 32bits may not be large enough in the long term, and there's no sensible way of extending this without causing ABI breakage in the future. svn path=/trunk/libcss/; revision=5439
Diffstat (limited to 'include')
-rw-r--r--include/libcss/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h
index e361052..0a2df82 100644
--- a/include/libcss/types.h
+++ b/include/libcss/types.h
@@ -34,6 +34,14 @@ typedef enum css_language_level {
} css_language_level;
/**
+ * Stylesheet media types
+ */
+typedef enum css_media_type {
+ CSS_MEDIA_SCREEN = (1<<0),
+ CSS_MEDIA_ALL = CSS_MEDIA_SCREEN
+} css_media_type;
+
+/**
* Stylesheet origin
*/
typedef enum css_origin {