From 71c08ab16507d3d8a961fbc9c40da8f2788fac00 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 25 Sep 2008 08:38:52 +0000 Subject: 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 --- include/libcss/types.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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 @@ -33,6 +33,14 @@ typedef enum css_language_level { CSS_LEVEL_DEFAULT = CSS_LEVEL_21 /**< Default 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 */ -- cgit v1.2.3