From f9b570199ebde1e6fa2bd82f542fa767b87bdfc2 Mon Sep 17 00:00:00 2001 From: John-Mark Bell Date: Sat, 4 Feb 2017 19:43:34 +0000 Subject: Media Queries: parse features --- src/parse/mq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/parse/mq.h') diff --git a/src/parse/mq.h b/src/parse/mq.h index 7d62e8c..c5268c7 100644 --- a/src/parse/mq.h +++ b/src/parse/mq.h @@ -22,7 +22,7 @@ typedef struct { css_fixed num_or_ratio; /* Where ratio is the result of a/b */ struct { css_fixed len; - css_unit unit; + uint32_t unit; } dim; lwc_string *ident; } data; @@ -31,8 +31,8 @@ typedef struct { /* * "name : value" is encoded as "name = value" * "name" is encoded by setting the operator to "bool" - * "name op value" is encoded verbatim (with op2 set to "unused") - * "value op name" inverts the operator to encode (i.e < becomes >=) (and sets op2 to "unused") + * "value op name" is encoded verbatim (with op2 set to "unused") + * "name op value" inverts the operator to encode (i.e < becomes >=) (and sets op2 to "unused") * "value op name op value" is encoded using op2 and value2 */ typedef enum { -- cgit v1.2.3