summaryrefslogtreecommitdiff
path: root/src/parse/mq.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-07-30 13:37:00 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 13:42:03 +0000
commit4ddb36bdf12d754b1e7d49060a19e4886d190640 (patch)
treebda8a540097c2bdec8b13405fad42d185cc8024c /src/parse/mq.h
parent55c0ff7fb7faa1383f5fbda7261d7e1be6249220 (diff)
downloadlibcss-4ddb36bdf12d754b1e7d49060a19e4886d190640.tar.gz
libcss-4ddb36bdf12d754b1e7d49060a19e4886d190640.tar.bz2
Media Queries: Store type as value, rather than lwc_string.
Otherwise we need to convert it in selection, and select/ doesn't have access to the css_language interned strings table.
Diffstat (limited to 'src/parse/mq.h')
-rw-r--r--src/parse/mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/mq.h b/src/parse/mq.h
index 77f8a8a..381e0f9 100644
--- a/src/parse/mq.h
+++ b/src/parse/mq.h
@@ -82,7 +82,7 @@ typedef struct css_mq_query {
struct css_mq_query *next;
uint32_t negate_type : 1; /* set if "not type" */
- lwc_string *type; /* or NULL */
+ uint64_t type; /* or NULL */
css_mq_cond *cond;
} css_mq_query;