summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parse/mq.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parse/mq.c b/src/parse/mq.c
index fb32b38..a8a5411 100644
--- a/src/parse/mq.c
+++ b/src/parse/mq.c
@@ -745,6 +745,9 @@ static css_error mq_parse_media_in_parens(lwc_string **strings,
*ctx = old_ctx;
error = mq_parse_general_enclosed(strings, vector, ctx);
+ if (error == CSS_OK) {
+ *cond_or_feature = NULL;
+ }
return error;
}