summaryrefslogtreecommitdiff
path: root/src/select/dispatch.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-03-23 01:02:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-03-23 01:02:59 +0000
commit570510b0762d9bb02f9dc64497c8802bc2a1649d (patch)
tree21bdec088c22894e77e4adbca99a2db8b894202d /src/select/dispatch.h
parentdcc0deb8e5cc5bf817d60a11b19e226a1bc22bd1 (diff)
downloadlibcss-570510b0762d9bb02f9dc64497c8802bc2a1649d.tar.gz
libcss-570510b0762d9bb02f9dc64497c8802bc2a1649d.tar.bz2
Completely change the approach used for presentational hints.
This one stands a chance of working sanely. While this compiles, please don't expect it to link. svn path=/trunk/libcss/; revision=6820
Diffstat (limited to 'src/select/dispatch.h')
-rw-r--r--src/select/dispatch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/select/dispatch.h b/src/select/dispatch.h
index a5f7a7a..e38a89d 100644
--- a/src/select/dispatch.h
+++ b/src/select/dispatch.h
@@ -30,6 +30,8 @@ enum prop_group {
extern struct prop_table {
css_error (*cascade)(uint32_t opv, css_style *style,
css_select_state *state);
+ css_error (*set_from_hint)(const css_hint *hint,
+ css_computed_style *style);
css_error (*initial)(css_computed_style *style);
css_error (*compose)(const css_computed_style *parent,
const css_computed_style *child,
@@ -37,6 +39,6 @@ extern struct prop_table {
uint32_t inherited : 1,
group : 2;
-} prop_dispatch[N_OPCODES];
+} prop_dispatch[CSS_N_PROPERTIES];
#endif