From 27657ff21c4dfff87ef1830cecdbef5dffec9910 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sun, 10 Mar 2019 14:55:57 +0000 Subject: Stylesheet: Drop temporary code to test media query parsing. --- src/stylesheet.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/stylesheet.c b/src/stylesheet.c index 26ba0f3..22c7681 100644 --- a/src/stylesheet.c +++ b/src/stylesheet.c @@ -145,13 +145,6 @@ css_error css_stylesheet_create(const css_stylesheet_params *params, return error; } - css_mq_query *media; - error = css_parse_media_query(sheet->propstrings, - (const uint8_t *)"screen and (min-width: 30em)", - strlen("screen and (min-width: 30em)"), &media); - if (error == CSS_OK) - css__mq_query_destroy(media); - sheet->inline_style = params->inline_style; if (params->inline_style) { -- cgit v1.2.3