summaryrefslogtreecommitdiff
path: root/include/libcss
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-03-10 14:53:44 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 14:54:57 +0000
commit958136f0ae2544ad6f82a89e9b14cd96fbe5339d (patch)
treefebdf074c9583b5b2b0f97c7f0cc0b6d86bd486f /include/libcss
parente42684ed2ee84301a0a458fe846e8e107d19bf96 (diff)
downloadlibcss-958136f0ae2544ad6f82a89e9b14cd96fbe5339d.tar.gz
libcss-958136f0ae2544ad6f82a89e9b14cd96fbe5339d.tar.bz2
Media queries: Add media type member to struct css_media.
Diffstat (limited to 'include/libcss')
-rw-r--r--include/libcss/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h
index 49bd68c..44aef12 100644
--- a/include/libcss/types.h
+++ b/include/libcss/types.h
@@ -208,6 +208,9 @@ typedef struct css_media_resolution {
* Media specification
*/
typedef struct css_media {
+ /* Media type */
+ css_media_type type;
+
/* Screen / Device media features */
css_media_length width;
css_media_length height;