path: root/test/select-auto.c
diff options
authorJohn Mark Bell <>2009-02-14 17:20:19 +0000
committerJohn Mark Bell <>2009-02-14 17:20:19 +0000
commit1d8b0aad719898be0f1b8a862be41c2b51075c80 (patch)
tree1efac87b00dba4be396a3aa9ef1c45e023272ff0 /test/select-auto.c
parent03c0b36fdb90960b4a4c1e6f86084c850463195b (diff)
Rework handling of imported stylesheets.
No longer is the client called back mid-parse. Instead, they must acquire details of and process imported stylesheets after css_stylesheet_data_done() has been called on the parent sheet. The return code of css_stylesheet_data_done() informs the client of the need to process imported sheets. svn path=/trunk/libcss/; revision=6504
Diffstat (limited to 'test/select-auto.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/test/select-auto.c b/test/select-auto.c
index 3f859a0..bd34a99 100644
--- a/test/select-auto.c
+++ b/test/select-auto.c
@@ -439,8 +439,7 @@ 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, NULL, NULL, myrealloc, NULL, &sheet) ==
- CSS_OK);
+ origin, media, myrealloc, NULL, &sheet) == CSS_OK);
/* Extend array of sheets and append new sheet to it */
temp = realloc(ctx->sheets,