From 4860bd14179e94a7d073714c1c5b21fd9c200dd7 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 5 Jan 2011 00:44:04 +0000 Subject: Simultaneously select styles for base + pseudo elements. svn path=/trunk/libcss/; revision=11211 --- src/select/properties/list_style_type.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/select/properties/list_style_type.c') diff --git a/src/select/properties/list_style_type.c b/src/select/properties/list_style_type.c index ce9f0a0..37a2bad 100644 --- a/src/select/properties/list_style_type.c +++ b/src/select/properties/list_style_type.c @@ -73,7 +73,7 @@ css_error cascade_list_style_type(uint32_t opv, css_style *style, if (outranks_existing(getOpcode(opv), isImportant(opv), state, isInherit(opv))) { - return set_list_style_type(state->result, value); + return set_list_style_type(state->computed, value); } return CSS_OK; @@ -87,7 +87,7 @@ css_error set_list_style_type_from_hint(const css_hint *hint, css_error initial_list_style_type(css_select_state *state) { - return set_list_style_type(state->result, CSS_LIST_STYLE_TYPE_DISC); + return set_list_style_type(state->computed, CSS_LIST_STYLE_TYPE_DISC); } css_error compose_list_style_type(const css_computed_style *parent, -- cgit v1.2.3