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/max_width.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/select/properties/max_width.c') diff --git a/src/select/properties/max_width.c b/src/select/properties/max_width.c index 62f33f9..a8472aa 100644 --- a/src/select/properties/max_width.c +++ b/src/select/properties/max_width.c @@ -29,7 +29,7 @@ css_error set_max_width_from_hint(const css_hint *hint, css_error initial_max_width(css_select_state *state) { - return set_max_width(state->result, CSS_MAX_WIDTH_NONE, 0, CSS_UNIT_PX); + return set_max_width(state->computed, CSS_MAX_WIDTH_NONE, 0, CSS_UNIT_PX); } css_error compose_max_width(const css_computed_style *parent, -- cgit v1.2.3