summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2019-03-10 14:55:57 +0000
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 14:55:57 +0000
commit27657ff21c4dfff87ef1830cecdbef5dffec9910 (patch)
treef58a96b71f07826215e057661316b625dd25a0d9
parent958136f0ae2544ad6f82a89e9b14cd96fbe5339d (diff)
downloadlibcss-27657ff21c4dfff87ef1830cecdbef5dffec9910.tar.gz
libcss-27657ff21c4dfff87ef1830cecdbef5dffec9910.tar.bz2
Stylesheet: Drop temporary code to test media query parsing.
-rw-r--r--src/stylesheet.c7
1 files changed, 0 insertions, 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) {