summaryrefslogtreecommitdiff
path: root/test/select-auto.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-06-26 19:49:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-06-26 19:49:46 +0000
commita57c4f03cc819c7eb2d5727157870e2aee947537 (patch)
tree695971debf488502b7c42b44b967edfcfe58a776 /test/select-auto.c
parent816cf1eb0eb52256b46cf3dad15aeb1a650ee531 (diff)
downloadlibcss-a57c4f03cc819c7eb2d5727157870e2aee947537.tar.gz
libcss-a57c4f03cc819c7eb2d5727157870e2aee947537.tar.bz2
Support for parsing inline styles
svn path=/trunk/libcss/; revision=8024
Diffstat (limited to 'test/select-auto.c')
-rw-r--r--test/select-auto.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/select-auto.c b/test/select-auto.c
index c42c82e..3f82433 100644
--- a/test/select-auto.c
+++ b/test/select-auto.c
@@ -450,8 +450,8 @@ void parse_sheet(line_ctx *ctx, const char *data, size_t len)
/** \todo How are we going to handle @import? */
assert(css_stylesheet_create(CSS_LEVEL_21, "UTF-8", "foo", "foo",
- origin, media, false, ctx->dict, myrealloc, NULL,
- &sheet) == CSS_OK);
+ origin, media, false, false, ctx->dict,
+ myrealloc, NULL, &sheet) == CSS_OK);
/* Extend array of sheets and append new sheet to it */
temp = realloc(ctx->sheets,
@@ -637,7 +637,8 @@ void run_test(line_ctx *ctx, const char *exp, size_t explen)
testnum++;
assert(css_select_style(select, ctx->target, ctx->pseudo_element,
- ctx->media, computed, &select_handler, ctx) == CSS_OK);
+ ctx->media, NULL, computed, &select_handler, ctx) ==
+ CSS_OK);
dump_computed_style(computed, buf, &buflen);