summaryrefslogtreecommitdiff
path: root/src/select/dispatch.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-02 20:09:15 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-02 20:09:15 +0000
commit2c8ceefca133bb802c489d71205dc88e8771cef7 (patch)
tree7544da2ed7754f62b8bad245aeb863a49c57721f /src/select/dispatch.h
parent0ebf0d7eb40e0aa50f9c359be0ef454f70c1f722 (diff)
downloadlibcss-2c8ceefca133bb802c489d71205dc88e8771cef7.tar.gz
libcss-2c8ceefca133bb802c489d71205dc88e8771cef7.tar.bz2
Add compose entry to property dispatch table.
Implement css_computed_style_compose() in terms of this. Don't expect this to link -- none of the composition functions exist. svn path=/trunk/libcss/; revision=6675
Diffstat (limited to 'src/select/dispatch.h')
-rw-r--r--src/select/dispatch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/select/dispatch.h b/src/select/dispatch.h
index 2c68e69..a5f7a7a 100644
--- a/src/select/dispatch.h
+++ b/src/select/dispatch.h
@@ -31,6 +31,9 @@ extern struct prop_table {
css_error (*cascade)(uint32_t opv, css_style *style,
css_select_state *state);
css_error (*initial)(css_computed_style *style);
+ css_error (*compose)(const css_computed_style *parent,
+ const css_computed_style *child,
+ css_computed_style *result);
uint32_t inherited : 1,
group : 2;