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/margin_top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/select/properties/margin_top.c') diff --git a/src/select/properties/margin_top.c b/src/select/properties/margin_top.c index e2cb23e..878cf27 100644 --- a/src/select/properties/margin_top.c +++ b/src/select/properties/margin_top.c @@ -29,7 +29,7 @@ css_error set_margin_top_from_hint(const css_hint *hint, css_error initial_margin_top(css_select_state *state) { - return set_margin_top(state->result, CSS_MARGIN_SET, 0, CSS_UNIT_PX); + return set_margin_top(state->computed, CSS_MARGIN_SET, 0, CSS_UNIT_PX); } css_error compose_margin_top(const css_computed_style *parent, -- cgit v1.2.3