summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-07-30 13:45:51 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 13:42:03 +0000
commitf95b1cc7a0d2574ec813176c60874e1b8063c56b (patch)
treeb852c0825b1a01f6cdee2ec7b85274b7127bbfec /test
parente3f8652f083435f6c51409c29ec5a41acaca0c70 (diff)
downloadlibcss-f95b1cc7a0d2574ec813176c60874e1b8063c56b.tar.gz
libcss-f95b1cc7a0d2574ec813176c60874e1b8063c56b.tar.bz2
Media Queries: API for stylesheet import doesn't take media now.
Diffstat (limited to 'test')
-rw-r--r--test/css21.c4
-rw-r--r--test/parse-auto.c4
2 files changed, 2 insertions, 6 deletions
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) {