summaryrefslogtreecommitdiff
path: root/src/select/properties/max_width.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-05 00:44:04 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-05 00:44:04 +0000
commit4860bd14179e94a7d073714c1c5b21fd9c200dd7 (patch)
treed6343a55826ee6d6ae3801c0453dcce12a0e987e /src/select/properties/max_width.c
parente094fcbc9fcf39fb2d71cd521e8076f4703fa100 (diff)
downloadlibcss-4860bd14179e94a7d073714c1c5b21fd9c200dd7.tar.gz
libcss-4860bd14179e94a7d073714c1c5b21fd9c200dd7.tar.bz2
Simultaneously select styles for base + pseudo elements.
svn path=/trunk/libcss/; revision=11211
Diffstat (limited to 'src/select/properties/max_width.c')
-rw-r--r--src/select/properties/max_width.c2
1 files changed, 1 insertions, 1 deletions
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,