diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-06-26 19:49:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-06-26 19:49:46 +0000 |
commit | a57c4f03cc819c7eb2d5727157870e2aee947537 (patch) | |
tree | 695971debf488502b7c42b44b967edfcfe58a776 /test/parse-auto.c | |
parent | 816cf1eb0eb52256b46cf3dad15aeb1a650ee531 (diff) | |
download | libcss-a57c4f03cc819c7eb2d5727157870e2aee947537.tar.gz libcss-a57c4f03cc819c7eb2d5727157870e2aee947537.tar.bz2 |
Support for parsing inline styles
svn path=/trunk/libcss/; revision=8024
Diffstat (limited to 'test/parse-auto.c')
-rw-r--r-- | test/parse-auto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parse-auto.c b/test/parse-auto.c index 0bab4c2..ebbc5e7 100644 --- a/test/parse-auto.c +++ b/test/parse-auto.c @@ -312,7 +312,7 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen) lwc_context_ref(ctx); assert(css_stylesheet_create(CSS_LEVEL_21, "UTF-8", "foo", NULL, - CSS_ORIGIN_AUTHOR, CSS_MEDIA_ALL, false, ctx, + CSS_ORIGIN_AUTHOR, CSS_MEDIA_ALL, false, false, ctx, myrealloc, NULL, &sheet) == CSS_OK); error = css_stylesheet_append_data(sheet, data, len); @@ -342,8 +342,8 @@ void run_test(const uint8_t *data, size_t len, exp_entry *exp, size_t explen) assert(css_stylesheet_create(CSS_LEVEL_21, "UTF-8", buf, NULL, CSS_ORIGIN_AUTHOR, - media, false, ctx, myrealloc, NULL, &import) == - CSS_OK); + media, false, false, ctx, myrealloc, NULL, + &import) == CSS_OK); assert(css_stylesheet_register_import(sheet, import) == CSS_OK); |