summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-03-07 21:41:28 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2016-11-19 14:30:07 +0000
commitfac1ad8641848a3d747b6c495cf443ccc29c077e (patch)
tree4b34bfe4c32cb6033958a8bae7a740492746a4df /test
parent60812fc682b8764c93020124bb43e7972f64cb73 (diff)
downloadlibcss-fac1ad8641848a3d747b6c495cf443ccc29c077e.tar.gz
After composing styles, intern the result in the style sharing arena.
Note this changes the API. Selection tests updated.
Diffstat (limited to 'test')
-rw-r--r--test/select-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/select-common.c b/test/select-common.c
index 432bd54..c6d33c0 100644
--- a/test/select-common.c
+++ b/test/select-common.c
@@ -773,7 +773,7 @@ static void run_test_select_tree(css_select_ctx *select,
node->parent->sr->styles[ctx->pseudo_element],
sr->styles[ctx->pseudo_element],
compute_font_size, NULL,
- sr->styles[ctx->pseudo_element]) == CSS_OK);
+ &(sr->styles[ctx->pseudo_element])) == CSS_OK);
}
node->sr = sr;