diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-03-13 09:24:03 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-03-13 09:24:03 +0000 |
commit | fc18fccd5ed2050a05cad53714f429a529253711 (patch) | |
tree | 659c5ee8e912fd70546cd7578551701346b7fb61 /test/select-auto.c | |
parent | c21a5d244101c695d59feaf5e333c194a33cc029 (diff) | |
download | libcss-fc18fccd5ed2050a05cad53714f429a529253711.tar.gz libcss-fc18fccd5ed2050a05cad53714f429a529253711.tar.bz2 |
Add structure versioning for client input
svn path=/trunk/libcss/; revision=12007
Diffstat (limited to 'test/select-auto.c')
-rw-r--r-- | test/select-auto.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/select-auto.c b/test/select-auto.c index 196bd5a..0ec57ae 100644 --- a/test/select-auto.c +++ b/test/select-auto.c @@ -154,6 +154,8 @@ static css_error compute_font_size(void *pw, const css_hint *parent, css_hint *size); static css_select_handler select_handler = { + CSS_SELECT_HANDLER_VERSION_1, + node_name, node_classes, node_id, @@ -521,6 +523,7 @@ void css__parse_sheet(line_ctx *ctx, const char *data, size_t len) css__parse_media_list(&p, &ignored, &media); } + params.params_version = CSS_STYLESHEET_PARAMS_VERSION_1; params.level = CSS_LEVEL_21; params.charset = "UTF-8"; params.url = "foo"; |