From f95b1cc7a0d2574ec813176c60874e1b8063c56b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 30 Jul 2018 13:45:51 +0100 Subject: Media Queries: API for stylesheet import doesn't take media now. --- test/css21.c | 4 +--- test/parse-auto.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/css21.c b/test/css21.c index a29fae1..cdd66f7 100644 --- a/test/css21.c +++ b/test/css21.c @@ -99,10 +99,8 @@ int main(int argc, char **argv) while (error == CSS_IMPORTS_PENDING) { lwc_string *url; - uint64_t media; - error = css_stylesheet_next_pending_import(sheet, - &url, &media); + error = css_stylesheet_next_pending_import(sheet, &url); assert(error == CSS_OK || error == CSS_INVALID); if (error == CSS_OK) { diff --git a/test/parse-auto.c b/test/parse-auto.c index 58ccf9a..5f926e3 100644 --- a/test/parse-auto.c +++ b/test/parse-auto.c @@ -395,10 +395,8 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen) while (error == CSS_IMPORTS_PENDING) { lwc_string *url; - uint64_t media; - error = css_stylesheet_next_pending_import(sheet, - &url, &media); + error = css_stylesheet_next_pending_import(sheet, &url); assert(error == CSS_OK || error == CSS_INVALID); if (error == CSS_OK) { -- cgit v1.2.1